POST /admin/tenants — create or reactivate a tenant in the distributed control plane.
POST
/admin/tenantsRequest body
requiredapplication/jsonidstringrequiredResponses
200Tenant created
idstringrequiredstatusstringrequiredRequest
curl -X POST "/admin/tenants" \
-H "Content-Type: application/json" \
-d '{
"id": "string"
}'const response = await fetch("/admin/tenants", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"id": "string"
})
});import requests
response = requests.post(
"/admin/tenants",
headers={
"Content-Type": "application/json"
},
json={
"id": "string"
},
)Response
{
"id": "string",
"status": "string"
}