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.
Path parameters
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
}
}Changes
Changed in 3 of the 35 revisions of this API.5
- ○
added the new optional request property
emotions_enablednew-optional-request-property
- ○
added the optional property
settings/emotions_enabledto the response with the200statusresponse-optional-property-added
- ○
- ○
added the new optional request property
sentiment_enablednew-optional-request-property
- ○
added the optional property
settings/sentiment_enabledto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
- ○