Update tenant settings
Changed onCreates 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.
Request
- Base URLhttp://localhost:8080
- URLhttp://localhost:8080/v1/tenants/{tenant_id}/settings
- AuthHTTP bearer
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
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info
- info
added the new optional request property
- info
added the optional property
/to the response with the status
- info