Delete a role

Permanently deletes a role. It cannot be undone.

DELETE/v3/roles/{id}
JWT
role:write

Parameters

NameTypeInDescription
id*stringpathUnique identifier for the role.
Triggers webhook: role.deleted
POST <your-webhook-url>
{
  "event": "role.deleted",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "description": "string",
    "claims": [
      "string"
    ]
  },
  "triggeredAt": "string"
}

Responses

204 No Content