All Products
Search
Document Center

Enterprise Distributed Application Service:DeleteRole

Last Updated:Jan 08, 2024

Deletes a Resource Access Management (RAM) role.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /pop/v5/account/delete_role

Request parameters

ParameterTypeRequiredDescriptionExample
RoleIdintegerYes

The ID of the RAM role.

99999999

Response parameters

ParameterTypeDescriptionExample
object

The content that is returned.

Codeinteger

The HTTP status code that is returned.

200
Messagestring

The additional information that is returned.

success
RequestIdstring

The ID of the request.

042F329B-F518-4CC1-****-**********

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "success",
  "RequestId": "042F329B-F518-4CC1-****-**********"
}

Error codes

For a list of error codes, visit the Service error codes.