Create a new tenant (admin)

POST/api/v1/tenants

Parameters

This endpoint does not accept parameters.

Responses

201Tenant created

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/tenants" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Acme Corp", "slug": "acme", "plan": "enterprise" }'

Response

201Tenant created
Example response not yet documented.