platform

Assign User Auth0 Roles

Add one or more Auth0 roles to a user and return the refreshed role state.

Grants tenant-wide (user-level) when organizationId is omitted, or scoped to that organization when supplied. Requires owner on the members-users module instance.

post/api/platform/users/{user_id}/auth0-roles

Path parameters

user_idstring required

Auth0 user id to add roles to

Auth0 user id to add roles to

Request body

roleIdsstring[]
organizationIdstring nullable

Response

Successful Response

userIdstring required

Changes

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