Roles
Delete custom role
Changed onDelete a custom role. The role must not be in use by any member or API key — reassign them first or deletion will fail.
System roles cannot be deleted.
delete/api/v1/roles/{id}
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/roles/{id}
- AuthAPI key in header X-API-Key
Path parameters
idstring uuid required
Role ID (UUID)
Response
Role deleted
Example response
{
"success": true,
"message": "Operation completed successfully"
}Changes
- info
endpoint added
- info