Skip to main content
Rezolve Ai
API ReferenceTenantsId

Update a tenant

PATCH
/tenants/{id}

Rename a tenant, replace its request defaults, or suspend and reactivate it. While a tenant is suspended, calls made with its keys or naming it in X-Tenant-Id are refused with 403 TENANT_SUSPENDED. config replaces the stored defaults as a whole; send an empty object to clear them. Partner accounts only: call it with your partner account's account-wide key, which needs the admin scope, and without X-Tenant-Id.

Authorization

AuthorizationBearer <token>

API key in the Authorization header: Authorization: Bearer ace_live_.... Use an ace_test_... key for the free, rate-capped sandbox.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "externalId": "string",    "name": "string",    "status": "active",    "config": {      "brandVoice": {        "tone": "string",        "contentStyle": "string",        "targetAudience": "string",        "languageComplexity": "string",        "language": "string"      },      "targetLanguage": "en-GB",      "creativityLevel": 1,      "contentTypes": [        "product-description",        "meta-tags"      ],      "reviewQueue": false    },    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}