Cascade
Account

Update Delegate

Add or remove a delegate for the authenticated account

POST
/account/delegates
accountstring
delegatestring
delegatedboolean
expiresAtinteger
Formatint64
Range0 <= value
nonceinteger
Formatint64
Range0 <= value
signaturesarray<string>
subaccountIndexinteger
Formatint32
Range0 <= value

Response Body

application/json

text/plain

text/plain

curl -X POST "https://matcher.cascade.xyz/account/delegates" \  -H "Content-Type: application/json" \  -d '{    "account": "string",    "delegate": "string",    "delegated": true,    "expiresAt": 0,    "nonce": 0,    "signatures": [      "string"    ],    "subaccountIndex": 0  }'
null
"Please add the JWT token to the header"
"Delegation not allowed for request"