Deleting policies in Permission Set
- Print
- PDF
Deleting policies in Permission Set
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
You can delete a list of policies in a PermissionSet.
Requests
- POST /permission-sets/{permissionSetId}/delete-policies
Request path
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
permissionSetId | Y | String | PermissionSet ID |
Request bodies
{
"systemManagedPolicyIds": ["String", "String"],
"userCreatedPolicyNames": ["String", "String"]
}
Parameters | Requirement status | Type | Description | Restrictions |
---|---|---|---|---|
systemManagedPolicyIds | N | Array | ID list of system management policies | |
userCreatedPolicyNames | N | Array | List of policies created by the user |
Responses
Response bodies
{
"success": "boolean",
"message": "String"
}
Parameters | Type | Description | Restrictions |
---|---|---|---|
success | Boolean | Whether it is a success | |
message | Array | Failure error message |
Errors
Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
For more information on common errors, see NAVER Cloud Platform API.
HTTP status code | Error code | Error message |
---|---|---|
400 | Invalid request |
Was this article helpful?