Roles

Delete a role

Delete a role with the specified ID. The role being deleted must not be in use by any entity users, otherwise a 409 error is returned. To check if there are entity users that have this role, call GET /entity_users?role_id=ROLE_ID.

delete/roles/{role_id}

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/roles/{role_id}
  • Auth: HTTP bearer

Path parameters

role_idstring required

Headers

x-monite-versionstring required
x-monite-entity-idstring required

The ID of the entity that owns the requested resource.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.