Skip to main content

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

ParameterTypeRequiredDescriptionExample
roleIdStringYesRole ID. You can call List Roles to obtain it.2394
accountIdStringYesAccount ID. You can call Get Account List to obtain it.1708********6159

Request Example

{
"roleId": "2394",
"accountId": "1708********6159"
}

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request is successful.true
requestIdStringRequest ID.Wt2c9DAO-KQQQfVGnNMLp4HAdNMm5ATY

Successful Invocation Example

{
"success": true,
"requestId": "Wt2c9DAO-KQQQfVGnNMLp4HAdNMm5ATY"
}