Tenant Settings
Update tenant settings
Creates or replaces the enrichment settings for the specified tenant_id (full replace of the settings object). The tenant_id is taken from the path, so a request can only ever modify its own tenant's settings. target_language is normalized to a canonical BCP-47 locale (e.g. "en-us" becomes "en-US"); send an empty string to clear it. While a tenant data purge runs for the same tenant_id, this write is rejected with HTTP 409 (code tenant_write_conflict) and may be retried.
put/v1/tenants/{tenant_id}/settings
Path parameters
tenant_idstring required
Example:org-123
Tenant ID whose settings should be updated. Empty strings and NULL bytes are not allowed.
Request body
Example request
{
"target_language": "de-DE"
}Response
Updated tenant settings
Example response
{
"tenant_id": "org-123",
"settings": {
"target_language": "en-US",
"sentiment_enabled": true,
"emotions_enabled": true
}
}