Delete a role

DELETE https://{{host}}/identity-management/v3/user-admin/roles/:roleId

This operation deletes a custom role. You can't delete a role if it's assigned to a user.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.