Update a policy

PATCH /v0/policies/{id}

This endpoint allows you to update the details of an existing policy within your project.

Updating a policy entails modifying the existing attributes such as the policy name, the type of chain it operates on, the rule evaluation method, the minimum number of rules required, and the specific set of associated rules.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Policy ID

Body Params
string
chain
object
string
enum
Allowed:
number

Minimum number of rules that must be satisfied if ruleEvaluation is SOME

rules
array of objects
rules
Responses

401

Unauthorized

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json