Skip to main content

Deletes a custom role

DELETE 

https://apis.<domain>/iam/roles/:id

Deletes a specified custom role (you cannot delete compiuta-managed roles) and remove it from any statements that may have been using it. If such a statement has no other associated actions, the statement is deleted as well. Similarly, if that statement removal results in a policy with no other statements, that policy is removed as well.

Authorization Action:

iam:roles:delete

Request

Path Parameters

    id stringrequired

    ID of the role.

Responses

A successful response.

Schema
  • object
curl -L -X DELETE 'https://apis.<domain>/iam/roles/:id' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://apis.<domain>
Parameters
— pathrequired