Update Policy
Update an existing policy.
Example Request:
curl -X PUT "http://localhost:4000/policies/123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer <your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"description": "Updated description",
"guardrails_add": ["pii_masking", "toxicity_filter"]
}'
Path parameters
Request body
Response
Successful Response
Changes
Changed in 14 of the 42 revisions of this API.31
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
policy_engineaddedapi-tag-added
- ○
api tag
Policiesremovedapi-tag-removed
This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
api tag
Policiesaddedapi-tag-added
- ○
api tag
policy_engineremovedapi-tag-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○