Policies
Update Policy Version Status
Changed onUpdate 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 URLhttps://api.flock.io (the document declares no server; this is the origin it was published from)
- URLhttps://api.flock.io/policies/{policy_id}/status
- AuthAPI key in header x-litellm-api-key
Path parameters
policy_idstring required
Request body
Response
Successful Response
Changes
- info
api tag
Policiesadded - info
api tag
policy_engineremoved
- info
- info
api tag
policy_engineadded - info
api tag
Policiesremoved
- info