Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.sitecopilot.ai/llms.txt

Use this file to discover all available pages before exploring further.

Base: POST|PUT|DELETE /api/tenant (central)

Create

POST /api/tenant
{
  "id": "my-tenant-id",
  "fqdn": "my-tenant.example.com" // optional
}
200 { "message": "Tenant created successfully." }

Update

PUT /api/tenant
{
  "old_id": "old-id",
  "id": "new-id",
  "fqdn": "new-domain.example.com"
}
200 { "message": "Tenant updated successfully." }

Delete

DELETE /api/tenant
{ "id": "my-tenant-id" }
200 { "message": "Tenant deleted successfully." }