All Products
Search
Document Center

Resource Management:DeleteServiceLinkedRole

Last Updated:Dec 15, 2025

Deletes a service-linked role.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RoleNamestringYes

The name of the role.

AliyunServiceRoleForPolarDB

Response parameters

ParameterTypeDescriptionExample
object
DeletionTaskIdstring

The ID of the deletion task.

task/acs-service-role/polardb.aliyuncs.com/AliyunServiceRoleForPolarDB/64c4f9cc-fac2-4692-ae1b-804ae4b9****
RequestIdstring

The request ID.

B595E5BF-FF5F-4E7F-B95A-B90FE242FEB6

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 codeError codeError messageDescription
404EntityNotExist.RoleThe role does not exist.The role does not exist.
404EntityNotExist.ServiceLinkedRoleThis 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 timeSummary of changesOperation
No change history