Skip to content

Tenant API Reference

API reference for tenant management.

GET /tenants

List all tenants.

Response

{
  "items": [
    {
      "id": "org_company",
      "name": "Company Name",
      "domains": ["company.com"],
      "created_at": "2025-01-01T00:00:00Z"
    }
  ]
}

POST /tenants

Create new tenant.

Request

{
  "name": "New Company",
  "slug": "new-company",
  "domains": ["newcompany.com"]
}

GET /tenants/:id

Get tenant details.

PATCH /tenants/:id

Update tenant configuration.

DELETE /tenants/:id

Delete tenant.