Delete a bank account within the company

Removes a bank account belonging to your company, so that it no longer appears in GET /bank-accounts, can no longer be updated through PUT or PATCH, and can no longer receive a withdrawal.

Deletion is permanent and cannot be undone. It does not check whether the account holds a balance, so make sure the funds have been withdrawn first. Repeating the call on an account you have already deleted is harmless and answers 204 again.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The account id, as returned by POST /bank-accounts or GET /bank-accounts.

Query Params
string
Headers
string
required

Bearer JWT obtained from POST /mfa/login. Send as "Bearer ". Expires after 5 minutes.

Responses
204

The account has been deleted. The response has no body. Deleting an account that was already deleted also answers 204.

400

Missing required request parameters: [Authorization]. Returned by the gateway request validator when the Authorization header is absent, before the request reaches the service.

401

Unauthorized. The bearer token is missing, expired or invalid. The response body is empty.

500

Internal server error. Also returned when the id does not resolve to an account, including when the value is not a well-formed id.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!