Delete a bank
Permanently deletes a bank.
A bank can only be deleted while nothing else refers to it. If any card or bank transfer account is still attached to it, the bank is kept and the request reports which records are blocking the deletion; remove or reassign those records first.
Deleting a bank does not remove its logo file from media storage.
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
The unique identifier of the bank.
The bank was deleted successfully. No response body.
No content
Authentication credentials were not provided or are invalid.
The authenticated user does not have administrator privileges.
The requested bank does not exist.
The bank could not be deleted because other records still refer to it. The message names the records that are blocking the deletion.
DELETE /api/v1/remote/1/banks/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

