Remove Entity assigned to Role
- Print
- PDF
Remove Entity assigned to Role
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Delete entities (servers, accounts) assigned to role.
API
- DELETE /roles/{roleNo}/entities
Requests
Path Variables
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
roleNo | Y | String | Role No |
Body
{
"entityIdList": [
"string"
]
}
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
entityIdList | Y | array | Role entity ID list | |
roleEntityIdList | Y | array | Deprecated |
Responses
- Responses
Parameter name | Requirement status | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Processing result |
- Response examples - Success
[
{
"id": "roleEntity",
"name": "removeEntity",
"success": true
}
]
- Response examples - No entity information
[
{
"success": false,
"id": "entityId",
"message": "This entity is not registered."
}
]
Errors
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 |
---|---|---|
401 | 30 | Wrong roleNo |
API
- DELETE /roles/{roleNo}/entities/account
Requests
Path Variables
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
roleNo | Y | String | Role No |
Responses
- Responses
Parameter name | Requirement status | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Processing result |
- Response examples - Success
{
"success": true
}
Was this article helpful?