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
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
name
string
id
string
selfProvisioningDomains
array<string>
customAttributes
object
authType
string
Status code | Description |
---|---|
200 | OK |
Was this helpful?