Deletes a service-linked role.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RoleName |
string |
Yes |
The name of the role. |
AliyunServiceRoleForPolarDB |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| DeletionTaskId |
string |
The ID of the deletion task. |
task/acs-service-role/polardb.aliyuncs.com/AliyunServiceRoleForPolarDB/64c4f9cc-fac2-4692-ae1b-804ae4b9**** |
| RequestId |
string |
The request ID. |
B595E5BF-FF5F-4E7F-B95A-B90FE242FEB6 |
Examples
Success response
JSON format
{
"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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.