User management
Assign roles to user
This route associates roles to 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.
post/resources/users/v1/{userId}/roles
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v1/:userId/roles/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
Headers
frontegg-tenant-idstring required
The tenant ID identifier
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.