Update Enforcement Policy
PATCH/api/discovery/policy
Updates the AI Discovery enforcement policy for your organization.
Only the fields provided in the request body are updated. When rules is provided it replaces the entire ordered rule set — rules are ordered by their position in the array, and any rule without an id is assigned a generated one.
Request
Responses
- 200
- 400
- 401
- 500
Enforcement policy updated successfully
Invalid request body
Authentication required or invalid token
Internal server error