Pause/Resume Role (Multiple Roles)
- Print
- PDF
Pause/Resume Role (Multiple Roles)
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Pause/Resume roles.
API
- PUT /roles
Requests
Parameters
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
active | Y | Boolean | Whether to resume |
Body
[
"string"
]
Parameters | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
body | Y | array | RoleNo list |
Response
- Response
Parameter name | Requirement status | Type | Description |
---|---|---|---|
ProcessResult | Y | Array | Processing result |
- Response examples - Success
[
{
"id": "roleNo",
"name": "disableRole",
"success": true
},
{
"id": "roleNo",
"name": "disableRole",
"success": true
}
]
- Response examples - No role to pause and resume
[]
- Response examples - Failure
[
{
"id": "roleNo",
"name": "disableRole",
"success": false,
"message": "An error occurred while changing the role pause status."
},
{
"id": "roleNo",
"name": "disableRole",
"success": false,
"message": "An error occurred while changing the role pause status."
}
]
Was this article helpful?