# Remove a role from a user in an organization **DELETE /api/organizations/{id}/users/{userId}/roles/{organizationRoleId}** Remove a role assignment from a user in the specified organization. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - OAuth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the organization. - **userId** (string) The unique identifier of the user. - **organizationRoleId** (string) The unique identifier of the organization role. ## Responses ### 204 The role was removed from the user successfully. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 Cannot find the record to delete. ### 422 The user is not a member of the organization. [Powered by Bump.sh](https://bump.sh)