Delete Role
DELETE/api/roles/deleterole/:id
Tier: Internal — subject to change without notice.
Soft-deletes a role. Rejected while any non-deleted user still holds the role.
Request
Responses
- 200
- 400
- 401
- 403
Returns true.
Unknown id (NotFound) or the role is still assigned to a user (IllegalDeleteAttempt) — error array.
Caller is not authenticated.
Caller lacks LocafiModule.Role Delete.