Get the details of an existing policy group
GET/api/v1/mssp/:mssp-id/policy-group/:pg-id
x-public: "true"
Returns the details of an existing policy group. Will use msspId from the auth token if available.
Request
Path Parameters
pg-id uuidrequired
the id of the policy group
Example: 34e2e197-f172-4a04-93a4-39b1532648ab
mssp-id stringrequired
the mssp the policy group belongs to
Example: e91b486a-e139-4d3b-a9dd-959fd5cffb10
Responses
- 200
- 400
- 401
- 403
- 429
OK
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
id uuid
name string
policies string[]
tenantGroups object[]
id uuid
tenantGroupId uuid
tenantGroupName string
tenantCount int32
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"policies": [
"string"
],
"tenantGroups": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tenantGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tenantGroupName": "string",
"tenantCount": 0
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Too Many Requests
- application/json
- Schema
- Example (from schema)
Schema
error objectrequired
code stringrequired
message stringrequired
target string
details undefined[]
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
null
]
}
}
Loading...