Deletes a RAM role.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteRole

The name of this action.

Value: DeleteRole

RoleName String Yes ECSAdmin The name of the RAM role to be deleted.

Response parameters

Parameter Type Example value Description
RequestId String 898FAB24-7509-43EE-A287-086FE4C44394 The request ID.


Request example
&<Common parameters>

Response example

XML format


JSON format



For a list of error codes, visit the API Error Center.