Associate policy groups to selected tenant group
POST/api/v1/mssp/:mssp-id/tenant-group-policy-group-mapping
x-public: "true"
Assign the selected policy groups to selected tenant group. Will use msspId from the auth token if available.
Request
Path Parameters
mssp-id stringrequired
the mssp the tenant group belongs to
Example: e91b486a-e139-4d3b-a9dd-959fd5cffb10
- application/json; charset=UTF-8
Body
required
- Array [
- ]
mappings object[]required
Tenant group to Policy groups mappings.
tenantGroupId uuidrequired
Tenant group to which the policy groups are mapped.
policyGroupIds uuid[]required
Policy groups to be mapped.
Responses
- 201
- 400
- 401
- 403
- 429
Created
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
value object[]
id uuid
tenantGroupId uuid
policyGroupId uuid
{
"value": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tenantGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"policyGroupId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
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...