cURL
curl --request DELETE \ --url https://developer-api.squads.so/api/v1/smart-accounts/{smart_account_address}/spending-limits/{spending_limit_address} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-squads-network: <x-squads-network>' \ --data ' { "transaction_signers": [ "<string>" ], "fee_config": { "currency": "<string>", "payer_address": "<string>", "self_managed_fees": false } } '
{ "transaction": "<string>", "fee": { "amount": "<string>", "amount_decimal": "<string>", "currency": "<string>", "sol_equivalent": { "amount": "<string>", "amount_decimal": "<string>" } } }
Delete an existing spending limit
UUID-based API key provided by Squads
Specifies the network for the API request
mainnet
devnet
The address of the smart account
The address of the spending limit
Show child attributes
Spending limit deleted successfully
Was this page helpful?