User management

Unassign roles from user

This route disassociates roles from a specific user for a specific tenant. Send the tenant’s ID in the frontegg-tenant-id header to declare which tenant. Send the role IDs in the POST body. The role IDs need to be an array of strings. Also send the user's ID as a path params.

delete/resources/users/v1/{userId}/roles

Request

Path parameters

userIdstring required

Headers

frontegg-tenant-idstring required

The tenant ID identifier

Request body

roleIdsstring[] required

Response

tenantIdstring required
userIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.