Policies
Update policy
Update a policy by policy ID.
PATCH
Authorizations
App secret authentication
Headers
ID of your Privy app
Request authorization signature. If multiple signatures are required, they should be comma separated.
Path Parameters
Required string length:
24
Body
application/json
Name to assign to policy.
Required string length:
1 - 50
The rules that apply to each method the policy covers.
Response
200 - application/json
Updated policy object.
Version of the policy. Currently, 1.0 is the only version.
Available options:
1.0
Name to assign to policy.
Maximum length:
50
Chain type the policy applies to.
Available options:
ethereum
The rules that apply to each method the policy covers.
Unique ID of the created policy. This will be the primary identifier when using the policy in the future.
Required string length:
24
The ID of the policy owner.
Unix timestamp of when the policy was created in milliseconds.
Was this page helpful?