Delete a role

delete

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/roles/{roleId}

The API deletes an existing role.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

204 Response

Role got deleted

401 Response

Unauthorized
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

403 Response

Forbidden
Body ()
Root Schema : MissingPrivErrorResponse
Type: object
Response sent back as an Error in case required privileges are missing
Show Source
Match All
Show Source
Nested Schema : missingPrivileges
Type: array
Privileges which are missing due to that the Error is occurred. This will have privilege internal name and display name only in the Privilege object
Show Source
Nested Schema : ErrorResponse
Type: object
Error response
Show Source
Nested Schema : MissingPrivilegeSummary
Type: object
It represents a Privilege which is missing on a Resource to view or manage it.
Show Source

404 Response

Not Found
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

Service Unavailable
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

Default Response

Unexpected Error
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top