curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policyContent": [
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"valueLimits": [
{
"asset": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"maxPerCall": "<string>"
}
]
}
],
"timeLimit": 2
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletId": "95b11417-f18f-457f-8804-68e361f9164f",
"expiresAt": "2023-11-07T05:31:56Z",
"policyContent": [
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"valueLimits": [
{
"asset": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"maxPerCall": "<string>"
}
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the environment
36"95b11417-f18f-457f-8804-68e361f9164f"
UUID of the wallet
36"95b11417-f18f-457f-8804-68e361f9164f"
The ID of the signature policy for the wallet
Array of policy rules, each defining allowed addresses, chain, and value limits for different assets
1Show child attributes
Time limit in seconds until the policy expires. Must be greater than 0 seconds.
x >= 1WAAS signature policy updated successfully
36"95b11417-f18f-457f-8804-68e361f9164f"
36"95b11417-f18f-457f-8804-68e361f9164f"
Timestamp when the policy expires
Array of policy rules, each defining allowed addresses, chain, and value limits for different assets
1Show child attributes
Was this page helpful?
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"policyContent": [
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"valueLimits": [
{
"asset": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"maxPerCall": "<string>"
}
]
}
],
"timeLimit": 2
}
'{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"walletId": "95b11417-f18f-457f-8804-68e361f9164f",
"expiresAt": "2023-11-07T05:31:56Z",
"policyContent": [
{
"chain": "EVM",
"toAddresses": [
"0xbF394748301603f18d953C90F0b087CBEC0E1834"
],
"valueLimits": [
{
"asset": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
"maxPerCall": "<string>"
}
]
}
]
}