Partially update tenant settings
Changed onPartially updates the enrichment settings for the specified tenant_id using RFC 7396 JSON Merge Patch semantics (media type application/merge-patch+json; application/json is also accepted). For each member: a value sets that setting, JSON null removes it (e.g. {"target_language": null} clears the target language), and an omitted member is left unchanged. 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"); an empty string is rejected (send null to remove 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
(media type: application/merge-patch+json) - info
added the new optional request property
(media type: application/json) - info
added the optional property
/to the response with the status
- info
- info
added the new optional request property
(media type: application/merge-patch+json) - info
added the new optional request property
(media type: application/json) - info
added the optional property
/to the response with the status
- info