Users
Set user's tenant
This route is for the vendor to set the active tenant of a user. The active tenant is the tenant the user will see in their admin portal and also the tenant for which the API reference will default to in situations where a route is tenant specific. Send the user ID as a path param and the tenant ID as a PUT body param. When using a non-existing tenant ID, there will be a tenant create for the provided ID. A vendor token is required for this route, it can be obtained from the vendor authentication route.
put/resources/users/v1/{userId}/tenant
Request
- Base URLhttp://localhost:8181
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v1/:userId/tenant/put.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
userIdstring required
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.