Removes policy members
POST/iam/policies/:id/members:remove
Removes members from the member list of a specific policy. Silently ignores members that are not already part of the member list. Use this endpoint to update members of either custom or compiuta-managed policies.
Ensure each element of the members array is in the correct format.
The removed members will still exist within Compiuta IAM, but are no longer associated with this policy.
Authorization Action:
iam:policyMembers:delete
Request
Path Parameters
id stringrequired
ID of the policy.
- application/json
Body
required
members string[]required
List of members to remove from the policy.
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
members string[]
Resulting list of policy members.
{
"members": [
"user:local:test"
]
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...