Update policy
Update a policy by policy ID.
SDK methods
Learn more about updating policies using our SDKs here.Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Path Parameters
24Body
Name to assign to policy.
1 - 50Owner input specifying a Privy user ID.
- OwnerInputUser
- OwnerInputPublicKey
The key quorum ID to set as the owner of the resource. If you provide this, do not specify an owner.
Response
Updated policy object.
A policy for controlling wallet operations.
Version of the policy. Currently, 1.0 is the only version.
1.0 Name to assign to policy.
1 - 50The wallet chain types.
ethereum, solana, cosmos, stellar, sui, aptos, movement, tron, bitcoin-segwit, bitcoin-taproot, pearl, near, ton, starknet, spark Unique ID of the created policy. This will be the primary identifier when using the policy in the future.
24The key quorum ID of the owner of the policy.
Unix timestamp of when the policy was created in milliseconds.

