Auth API
Remove Role From User
Changed onRemove a role from a user and all their PATs.
When a role is removed from a user, it is automatically removed from all PATs owned by that user via the FK cascade from access_token_roles to user_roles.
Args: user_id: The user ID role_name: The role to remove
delete/api/auth/user/{user_id}/roles/{role_name}
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
user_idstring required
role_namestring required
Response
Successful Response
unknown required
Changes
- ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status
- ○
- ○
endpoint added
- ○