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
Documentation Index
Fetch the complete documentation index at: https://docs.cognee.ai/llms.txt
Use this file to discover all available pages before exploring further.
Previous
Select TenantSelect current tenant.
This endpoint selects a tenant with the specified UUID. Tenants are used
to organize users and resources in multi-tenant environments, providing
isolation and access control between different groups or organizations.
Sending a null/None value as tenant_id selects his default single user tenant
## Request Parameters
- **tenant_id** (Union[UUID, None]): UUID of the tenant to select, If null/None is provided use the default single user tenant
## Response
Returns a success message along with selected tenant id.
Next
Create Tenant