post
https://api.kevel.co/v1/advertiser//wallet/batch/delete
Removes several wallet assignments from an Advertiser in one call.
Removes several wallets from an Advertiser by wallet ID. Remove Wallet from Advertiser takes an assignment ID instead.
API syntax
POST https://api.kevel.co/v1/advertiser/{AdvertiserID}/wallet/batch/delete
Notes
- The call fails while any of the Advertiser's Campaigns is linked to any wallet, deleted Campaigns included. Unlink them, remove the assignments, then link them again. An unlinked Campaign serves without a wallet cap, so check it has its own caps.
- A wallet that is not assigned to the Advertiser is skipped, and the call still returns
200 Successfully deleted.Confirm the assignments with List Advertiser Wallets first.
Errors
| Status | Message | What to do |
|---|---|---|
400 | Cannot delete advertiser-wallet link because wallet is linked to existing campaigns. | Unlink the Advertiser's Campaigns first. |
404 | At least one wallet did not belong to the network. | Use only your wallet IDs. |
404 | Advertiser not found | Use one of your Advertiser IDs. |
