Auth0 Home Blog Docs

Create tenants - API



Is it still possible to create tenants using the management api ?

I tried to follow the documentation but doing the following request return operation_not_supported

"curl --request POST
–url https://root_tenant_authority_domain/api/v2/tenants
–header ‘authorization: Bearer ACCESS_TOKEN’
–header ‘cache-control: no-cache’
–header ‘content-type: application/json’
–data ‘{“name”: “customer-1”,“owners”: [“”]}’

But the API call returns the following body as Error:
“statusCode”: 403,
“error”: “Forbidden”,
“message”: “This operation must be authorized by Auth0”,
“errorCode”: “operation_not_supported”

that same documentation was removed last week . So I am not sure if the feature was removed or it’s being updated… Will there be a new api ?

I am trying to create new tenant on demands ( PSaaS) :
1 - User create an account in our application
2 - We create a new tenant for him

Is this concept still possible using auth0’s API?


Hey there @mv740, I wanted to reach out and let you know that the documentation was removed due to not being supported. There is currently not a fully supported method to accomplish tenant creation through automation. Thank you.

1 Like
closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.