Skip to main content
DELETE
/
environments
/
{environmentId}
/
waas
/
{walletId}
/
signaturePolicy
/
{policyId}
Delete a WAAS signature policy by walletId and policyId
curl --request DELETE \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "95b11417-f18f-457f-8804-68e361f9164f",
  "walletId": "95b11417-f18f-457f-8804-68e361f9164f",
  "chain": "EVM",
  "toAddresses": [
    "0xbF394748301603f18d953C90F0b087CBEC0E1834"
  ],
  "tokenAddresses": [
    "0xbF394748301603f18d953C90F0b087CBEC0E1834"
  ],
  "expiresAt": "2023-11-07T05:31:56Z",
  "maxAmount": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

walletId
string
required

UUID of the wallet

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

policyId
string<uuid>
required

The ID of the signature policy for the wallet

Response

WAAS signature policy deleted successfully

id
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

walletId
string
required
Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

chain
enum<string>
required
Available options:
EVM,
SVM,
SUI,
BTC,
TON
toAddresses
string[]
required

Array of allowed destination addresses

Valid blockchain wallet address, must be an alphanumeric string without any special characters

Maximum string length: 255
Example:

"0xbF394748301603f18d953C90F0b087CBEC0E1834"

tokenAddresses
string[]
required

Array of allowed token contract addresses

Valid blockchain wallet address, must be an alphanumeric string without any special characters

Maximum string length: 255
Example:

"0xbF394748301603f18d953C90F0b087CBEC0E1834"

expiresAt
string<date-time>
required

Timestamp when the policy expires

maxAmount
string
required

Maximum amount allowed for transactions (as string to handle bigint). Must be a non-negative integer.