# Delete User Roles **DELETE /users/{userName}/roles** This API call is used to remove specific roles assigned to the user. Please refer to the users_roles_schema below to get the list of assignable roles. ## Servers - Sandbox server URL: https://localhost:8080 (Sandbox server URL) ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **userName** (string) Username or ID of the user. ### Body: application/json (array[object]) ## Responses ### 200 Successful Response #### Body: application/json (object) - **status** (string) - **messages** (array[string]) ### 400 Failure Response #### Body: application/json (object) - **code** (string) - **message** (string) - **errors** (array[string]) ### 401 Authentication Error. Invalid credentials. #### Body: application/json (object) - **code** (string) - **message** (string) - **description** (string) ### 403 Authorization Error. Invalid role for request. ### 404 User Not Found #### Body: application/json (object) - **status** (string) - **messages** (array[string]) [Powered by Bump.sh](https://bump.sh)