Delete Role

Details

API Details
Name

Delete Role

Description

Deletes the specified User Role within the specified tenant in this CloudCenter instance.

A Role ID is unique to a CloudCenter instance.

MethodDELETE
URIv1/tenants/tenantId/roles/roleId
CloudCenter ReleaseIntroduced in CloudCenter 4.0.
NotesFor additional context on <PORT> usage in the following example(s), see Base URI Format.
ESB Headeraction: delete.tenants.tenantId.roles.roleId

Example

curl -k -X DELETE -H "Accept: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenants/2/roles/1"

Response

The server responds with the HTTP Response code 204 No Content if the deletion of the role is successful.

Request Attributes

tenantId
  • DescriptionUnique, system-generated identifier for the tenant organization. A tenant admin must belong to this tenant to invoke any APIs for this tenant. See Add Sub-Tenants > Tenant ID and Tenant Name Dependency.

  • Type: String

Required

roleId
  • DescriptionUnique, system-generated identifier for a role
  • Type: String

Required

Response Attributes

None