# Remove role from user **DELETE /api/roles/{id}/users/{userId}** Remove a role from a user with the given ID. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the role. - **userId** (string) The unique identifier of the user. ## Responses ### 204 The role was removed from the user. ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 404 Not Found [Powered by Bump.sh](https://bump.sh)