DeleteWorkspaceRoles
Deletes one or more roles from a workspace.
Try it now
Test
RAM authorization
Request syntax
POST /api/v1/workspaces/{WorkspaceId}/roles/action/delete HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The ID of the workspace. You can call the ListWorkspaces operation to obtain the workspace ID. |
98*** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| RoleIds |
array |
No |
The IDs of the roles to delete. |
|
|
string |
No |
The ID of a role. |
role-dhg******* |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
A519F77D-28A0-52F5-AB82-5********8 |
Examples
Success response
JSON format
{
"RequestId": "A519F77D-28A0-52F5-AB82-5********8"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.