Get the details of all existing policy groups
GET/api/v1/mssp/:mssp-id/policy-group
x-public: "true"
Returns the details of all existing policy groups. Will use msspId from the auth token if available.
Request
Path Parameters
mssp-id stringrequired
the mssp the policy group belongs to
Example: e91b486a-e139-4d3b-a9dd-959fd5cffb10
Query Parameters
next_page_token string
pagination token to continue a previous query
Responses
- 200
- 400
- 401
- 403
- 429
OK
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
id uuid
name string
policyCount int32
tenantGroupCount int32
nextPageToken string
{
"value": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"policyCount": 0,
"tenantGroupCount": 0
}
],
"nextPageToken": "string"
}
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...