Update Policy
Update a policy by policy ID.
Path parameters
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.
Request body
Example request
{
"rules": [
{
"conditions": [
{
"field": "content"
}
]
}
]
}Response
Updated policy object.
Example response
{
"chain_type": "ethereum",
"created_at": 1741833088894,
"id": "tb54eps4z44ed0jepousxi4n",
"name": "Allowlisted stablecoins",
"owner_id": null,
"rules": [
{
"action": "ALLOW",
"conditions": [
{
"field": "to",
"field_source": "ethereum_transaction",
"operator": "eq",
"value": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
}
],
"id": "bdyfoa65pro1eez6iwtzanol",
"method": "eth_sendTransaction",
"name": "Allowlist USDC contract on Base"
}
],
"version": "1.0"
}Changes
Changed in 7 of the 46 revisions of this API.35160
- ●
added the new
tron_sendTransactionenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ●
added the new
tron_signTransactionenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ○
added the new
tron_sendTransactionenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ○
added the new
tron_signTransactionenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ●
- ▲
removed the enum value
raw_signof the request propertyrules/items/methodrequest-property-enum-value-removed
- ●
added the new
signRawMessageBytesenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ○
added the new
signRawMessageBytesenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ○
removed the
raw_signenum value from therules/items/methodresponse property for the response status200response-property-enum-value-removed
- ▲
- ●
added the new
signMessageenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ○
added the new
signMessageenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ●
- ▲
added
MessageSigningConditionto therules/items/conditions/items/response propertyoneOflist for the response status200response-property-one-of-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
containsenum value to therules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
ends_withenum value to therules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
raw_signenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ●
added the new
starts_withenum value to therules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorresponse property for the response status200response-property-enum-value-added
- ○
added
messagediscriminator mapping keys to therules/items/conditions/items/request propertyrequest-property-discriminator-mapping-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
containsenum value to the request propertyrules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
ends_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
raw_signenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #10: SystemCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #11: TronTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #12: TronCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #14: SuiTransferObjectsCommandCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #15: ActionRequestBodyCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #16: AggregationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #1: EthereumTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #2: EthereumCalldataCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #3: EthereumTypedDataDomainCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #4: EthereumTypedDataMessageCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #5: Ethereum7702AuthorizationCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #6: TempoTransactionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #7: SolanaProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #8: SolanaSystemProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added the new
starts_withenum value to the request propertyrules/items/conditions/items/oneOf[subschema #9: SolanaTokenProgramInstructionCondition]/operatorrequest-property-enum-value-added
- ○
added
MessageSigningConditionto therules/items/conditions/items/request propertyoneOflistrequest-property-one-of-added
- ○
added
messagediscriminator mapping keys to therules/items/conditions/items/response property for the response status200response-property-discriminator-mapping-added
- ▲
- ○
removed
KeyQuorumIdsubschema #2from theowner_idresponse propertyallOflist for the response status200response-property-all-of-removed
- ○
added
KeyQuorumIdsubschema #2to theowner_idresponse propertyanyOflist for the response status200response-property-any-of-added
- ○
- ●
added the new
personal_signenum value to therules/items/methodresponse property for the response status200response-property-enum-value-added
- ○
added the new
personal_signenum value to the request propertyrules/items/methodrequest-property-enum-value-added
- ●
- ▲
added
TempoTransactionConditionto therules/items/conditions/items/response propertyoneOflist for the response status200response-property-one-of-added
- ○
added
tempo_transactiondiscriminator mapping keys to therules/items/conditions/items/request propertyrequest-property-discriminator-mapping-added
- ○
added
TempoTransactionConditionto therules/items/conditions/items/request propertyoneOflistrequest-property-one-of-added
- ○
added
tempo_transactiondiscriminator mapping keys to therules/items/conditions/items/response property for the response status200response-property-discriminator-mapping-added
- ▲