permissions
Create Tenant
Create a new tenant.
This endpoint creates a new tenant with the specified name. Tenants are used to organize users and resources in multi-tenant environments, providing isolation and access control between different groups or organizations.
Request Parameters
- tenant_name (str): The name of the tenant to create
Response
Returns a success message indicating the tenant was created.
Error Codes
- 400 Bad Request: Invalid tenant name or tenant already exists
- 500 Internal Server Error: Error creating the tenant
POST
Create Tenant
Create Tenant