Tenant Management
Administrative endpoints for managing multi-tenant isolation and security flags.
List Tenantsâ
Retrieve a full list of all tenants registered in the HxTP system.
Endpointâ
GET /api/v1/admin/tenants
Responseâ
[
{
"id": "hxtp:21e02264fdeb",
"name": "devopsanju's Workspace",
"slug": "devopsanju",
"created_at": { "_seconds": 1777973470, "_nanoseconds": 128000000 }
}
]
Suspend Tenantâ
Immediately lock a tenant account, preventing any further device communication or API access.
Endpointâ
POST /api/v1/admin/tenants/:id/suspend
Responseâ
{
"status": "suspended",
"tenant_id": "hxtp:21e02264fdeb"
}
Update System Flagsâ
Toggle global feature flags (e.g., maintenance mode, registration lock).
Endpointâ
POST /api/v1/admin/flags/:flag
Bodyâ
{
"state": true
}
Responseâ
{
"flag": "maintenance_mode",
"state": true
}