Remove policy from group
- Print
- PDF
Remove policy from group
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Delete a policy assigned to a group.
API
- DELETE /groups/{groupId}/policies
Request
Path variables
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
groupId | Y | String | Group ID |
Body
{
"policyIdList": [
"string"
]
}
Parameter | Required | Type | Restrictions | Description |
---|---|---|---|---|
policyIdList | Y | array | Policy ID list |
Response
- Response
Parameter name | Required | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Processing result |
- Response example - Success
[
{
"success": true,
"id": "policyId1"
}
]
- Response example - Unregistered policy
[
{
"success": false,
"id": "policyId2",
"message": "This policy isn't registered."
}
]
Error
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information about common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | 30 | Group that doesn't exist |
Was this article helpful?