AimableDocs
DocsAPI Reference
POST/v1/admin/tenants/{tenant_id}/reseed

Reseed Tenant Endpoint

Backfill baseline RBAC + connector configs for a tenant. A tenant admin may reseed their own tenant (e.g. from the per-tenant danger zone in the Console). Platform admins may reseed any tenant. Any other combination is forbidden — a tenant admin of tenant A cannot reseed tenant B. Idempotent at the row level: existing permissions/roles/mappings/connectors are left untouched; only missing rows are inserted. The response reports how many rows were created in each category.

Path Parameters

NameTypeRequiredDescription
tenant_idstring (uuid)Required

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request

curl -X POST '/api-proxy/v1/admin/tenants/{tenant_id}/reseed' \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

200

No response body documented

Error Responses