policy_engine
Update Policy Version Status
Update a policy version's status. Valid transitions:
- draft -> published
- published -> production (demotes current production to published)
- production -> published (demotes, policy becomes inactive)
put/policies/{policy_id}/status
Request
- Base URL: https://docs.litellm.com.cn (the document declares no server; this is the origin it was published from)
- URL: https://docs.litellm.com.cn/policies/{policy_id}/status
- Auth: API key in header x-litellm-api-key
Path parameters
policy_idstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.