Remove role from user

DELETE /api/roles/{id}/users/{userId}

Remove a role from a user with the given ID.

Path parameters

  • id string Required

    The unique identifier of the role.

  • userId string Required

    The unique identifier of the user.

Responses

DELETE /api/roles/{id}/users/{userId}
curl \
 -X DELETE https://[tenant_id].logto.app/api/roles/{id}/users/{userId} \
 -H "Authorization: Bearer $ACCESS_TOKEN"