Update a policy group
PUT/api/v1/mssp/:mssp-id/policy-group/:pg-id
x-public: "true"
Updates a policy group if it doesn't exist. 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 tenant group belongs to
Example: e91b486a-e139-4d3b-a9dd-959fd5cffb10
- application/json; charset=UTF-8
Body
required
name stringrequired
Possible values: >= 3 characters
and <= 63 characters
Name of the policy group.
policies string[]
Policies assigned to this policy group.
Responses
- 204
- 400
- 401
- 403
- 429
Update Accepted
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...