PATCH/v1/tenant
tenant.update
Renames the tenant. **Owner-only** — admins receive 403. The `permission_mode` field is read-only on this endpoint; flipping a tenant's RBAC posture has its own dedicated surface (deferred to v2). Sending unknown keys returns 400 so the caller learns their change wouldn't take effect.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Idempotency-Key | string | optional | Optional client-supplied key for at-most-once semantics. The first request with a given key is processed; subsequent requests with the same key replay the cached response for 24h. |
Request body
No parameters.
Response
No parameters.
Examples
curl -sS -X PATCH \
-H "Authorization: Bearer $CULPRIT_API_TOKEN" \
-H "content-type: application/json" \
-d '{ /* … */ }' \
https://api.theculprit.ai/v1/tenantTry it
Stored locally in your browser at localStorage.docs.tryit.token. Never sent to Culprit's analytics. Use a read-only token.