Delete a role

Deletes a user role with a specified ID.

SecuritySecretApiKey or JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

Responses
204

Role deleted.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

delete/roles/{id}
Request samples
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}