Skip to main content

Delete a role

DELETE /api/roles/:role_id deletes the identified role resource

Required scope: scopes:manage:all

Path Parameters
role_id string — REQUIRED
Responses
204

No Content

401

The client is unauthorized to access this resource.

Schema — OPTIONAL
code string
message string
403

The client is forbidden to access this resource.

Schema — OPTIONAL
code string
message string
404

The requested resource could not be found.

Schema — OPTIONAL
code string
message string
422

The request payload is invalid.

Schema — OPTIONAL
errors object — OPTIONAL