Delete Role Member
Deletes a member from a specified role.
Use this endpoint when an external offboarding or permission cleanup workflow needs to remove a member from a role. Obtain the roleId from List Roles and the account ID from Get Account List.
After the request succeeds, call List Role Members to verify that the account is no longer bound to the role.
Keep the requestId from the response for troubleshooting or audit review.
Request URL: /openapi/v1/role/member/delete
Request Method: POST
Request Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| roleId | String | Yes | Role ID. You can call List Roles to obtain it. | 2394 |
| accountId | String | Yes | Account ID. You can call Get Account List to obtain it. | 1708********6159 |
Request Example
{
"roleId": "2394",
"accountId": "1708********6159"
}
Response Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| success | Boolean | Whether the request is successful. | true |
| requestId | String | Request ID. | Wt2c9DAO-KQQQfVGnNMLp4HAdNMm5ATY |
Successful Invocation Example
{
"success": true,
"requestId": "Wt2c9DAO-KQQQfVGnNMLp4HAdNMm5ATY"
}