Update policy
Updates a policy by its ID. This will have the effect of applying the updated policy to all accounts that are currently using it.
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Headers
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
1 - 128Path Parameters
Body
A list of rules that comprise the policy. Each policy is limited to 100 rules and a total serialized size of 8 MiB.
A rule that limits the behavior of an account.
- SignEvmTransactionRule
- SendEvmTransactionRule
- SignEvmMessageRule
- SignEvmTypedDataRule
- SignSolTransactionRule
- SendSolTransactionRule
- SignSolMessageRule
- SignEvmHashRule
- PrepareUserOperationRule
- SendUserOperationRule
- SignEndUserEvmTransactionRule
- SendEndUserEvmTransactionRule
- SignEndUserEvmMessageRule
- SignEndUserEvmTypedDataRule
- SignEndUserEvmHashRule
- SignEndUserSolTransactionRule
- SendEndUserSolTransactionRule
- SignEndUserSolMessageRule
- SendEndUserEvmAssetRule
- SendEndUserSolAssetRule
- SendEndUserOperationRule
- CreateEndUserEvmSwapRule
Response
Successfully updated policy.
A list of rules that comprise the policy. Each policy is limited to 100 rules and a total serialized size of 8 MiB.
A rule that limits the behavior of an account.
- SignEvmTransactionRule
- SendEvmTransactionRule
- SignEvmMessageRule
- SignEvmTypedDataRule
- SignSolTransactionRule
- SendSolTransactionRule
- SignSolMessageRule
- SignEvmHashRule
- PrepareUserOperationRule
- SendUserOperationRule
- SignEndUserEvmTransactionRule
- SendEndUserEvmTransactionRule
- SignEndUserEvmMessageRule
- SignEndUserEvmTypedDataRule
- SignEndUserEvmHashRule
- SignEndUserSolTransactionRule
- SendEndUserSolTransactionRule
- SignEndUserSolMessageRule
- SendEndUserEvmAssetRule
- SendEndUserSolAssetRule
- SendEndUserOperationRule
- CreateEndUserEvmSwapRule