POST
/v1/mgmt/tenant/create
Create a new tenant, using a valid management key.
This API endpoint will create a new tenant utilizing a valid management key.
Creation of a new tenant can set the name, id, and selfProvisioningDomains. The id and selfProvisioningDomains are not mandatory. The id will be autogenerated if not provided. The response will always include the tenantId.
Next Steps
- You can then add users to the tenant via Update User or Create User
- You can also apply sso configurations to the tenant via the SSO Management API
See also
- See Tenant Management for further details on managing tenants.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
AuthorizationRequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
namestring
idstring
selfProvisioningDomainsarray<string>
customAttributesobject
authTypestring
| Status code | Description |
|---|---|
200 | OK |
Was this helpful?