Patch Tenant Policy
PATCH
/v1/admin/tenant-policy/{tenant_id}
const url = 'http://localhost:8080/v1/admin/tenant-policy/example';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"auto_classify_enabled":true,"default_template_id":"example","review_agreement_floor":1,"review_confidence_floor":1,"review_warn_count_threshold":1,"rate_limit_per_minute":1,"pdf_max_pages":1,"pptx_notes_mode":"margin","characterisation_enabled":true,"generic_entities_enabled":true,"judge_mode_enabled":true,"table_aware_extraction_enabled":true,"draft_on_miss_enabled":true,"extraction_postprocessing_enabled":true,"extraction_evidence_planning_enabled":true,"extraction_chunk_merge_strategy":"field_aware","tax_id_country_prefix_mode":"infer","feature_flags":{},"forge_enabled":true,"tenant_infra_overrides_enabled":true,"forge_monthly_token_quota":1,"forge_monthly_dollar_quota":1,"forge_per_job_max_iterations":1,"forge_per_job_max_dollars":1,"forge_per_job_max_wall_seconds":1,"ocr_selection_mode":"paddle_priority","ocr_priority_margin":1,"layout_policy":{},"glm_risk_policy":{},"prompt_budget_policy":{},"language_policy":{},"preprocessing_policy":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8080/v1/admin/tenant-policy/example \ --header 'Content-Type: application/json' \ --data '{ "auto_classify_enabled": true, "default_template_id": "example", "review_agreement_floor": 1, "review_confidence_floor": 1, "review_warn_count_threshold": 1, "rate_limit_per_minute": 1, "pdf_max_pages": 1, "pptx_notes_mode": "margin", "characterisation_enabled": true, "generic_entities_enabled": true, "judge_mode_enabled": true, "table_aware_extraction_enabled": true, "draft_on_miss_enabled": true, "extraction_postprocessing_enabled": true, "extraction_evidence_planning_enabled": true, "extraction_chunk_merge_strategy": "field_aware", "tax_id_country_prefix_mode": "infer", "feature_flags": {}, "forge_enabled": true, "tenant_infra_overrides_enabled": true, "forge_monthly_token_quota": 1, "forge_monthly_dollar_quota": 1, "forge_per_job_max_iterations": 1, "forge_per_job_max_dollars": 1, "forge_per_job_max_wall_seconds": 1, "ocr_selection_mode": "paddle_priority", "ocr_priority_margin": 1, "layout_policy": {}, "glm_risk_policy": {}, "prompt_budget_policy": {}, "language_policy": {}, "preprocessing_policy": {} }'Partial update. Keys present in the request body are applied;
null values clear inheritable columns so the next read inherits
from platform defaults. Keys absent from the body leave columns
untouched. Non-inheritable fields (kill switches, feature_flags)
reject explicit null with 422.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” tenant_id
required
Tenant Id
string
Request Body required
Section titled “Request Body required ” Media type application/json
TenantPolicyPayload
object
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Response Patch Tenant Policy V1 Admin Tenant Policy Tenant Id Patch
object
key
additional properties
any
Example generated
{}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}