Login | Sign Up
  • FA
  • EN

API Docs

DELETE /api/v1/users/{user-id}/detach-role/{role-id}

Detach a role from a user.


Permissions

PermissionDescription
users.detach_roleDetach a role from any user except themselves

Response

204 No Content

No content is returned when the role is successfully detached.


Error Responses

StatusDescriptionReference
400User does not have this role
401UnauthorizedAuthentication error
403ForbiddenPermission error
404Role or user not foundNot-found error
footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub