Update Project
Update the fields you send. routing_policy replaces the project’s
own policy in place, keeping its id; uses_organization_default_routing
true deletes it. Setting is_active to false stops the project’s prompt
injection, DLP and controls overrides applying; true restores them.
Authentication
A management key (mgmt_...), sent as Authorization: Bearer <key>. Reading /v1/routing-policies also accepts the organization’s gateway API keys; writing there needs a management key.
Path parameters
The project’s id.
Request
false stops the project’s prompt injection, DLP and controls overrides applying; true restores them. Omit to keep the current value. null is rejected.
true deletes the project’s routing policy, so it routes with the organization default. false needs routing_policy. null is the same as omitting it.
Response
The project’s spending budget; null when it has none.
The project’s own routing policy; null when it uses the organization default.