Deletes a service-linked role.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RoleName | string | Yes | The name of the role. | AliyunServiceRoleForPolarDB |
Response parameters
Examples
Sample success responses
JSONformat
{
"DeletionTaskId": "task/acs-service-role/polardb.aliyuncs.com/AliyunServiceRoleForPolarDB/64c4f9cc-fac2-4692-ae1b-804ae4b9****",
"RequestId": "B595E5BF-FF5F-4E7F-B95A-B90FE242FEB6"
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 404 | EntityNotExist.Role | The role does not exist. | The role does not exist. |
| 404 | EntityNotExist.ServiceLinkedRole | This role exists but is not a Service Linked Role. | This role exists but is not a Service Linked Role. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
