Skip to navigation

Delete a child organization bank account

Beta

Remove a bank account from a child organization. Refused while the account is the default for an automatic payment or set as a backup method: set another account as the default first. A removed account keeps its id and is returned by the get call with status REMOVED.

Token scopes: organizations:write

Beta: this version requires the X-Beta: true request header and its contract may change before it is promoted to stable. It is scheduled to become stable on 2027-02-12.

Authentication

AuthorizationBearer

Authentication

The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.

curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \
  -H 'Authorization: Bearer YOUR-TOKEN-HERE'

Learn more about authentication

OR
AuthorizationBearer

Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

Path parameters

child_idstringRequiredformat: "uuid"

Public id of the child organization, as returned in the id field of the create child organization response. It must be a direct child organization of the authenticated organization; any other id answers 403, an unknown id 404.

payment_method_idintegerRequired>=1

Id of the payment method, as returned when it was added. It must belong to the child organization; any other id answers 404.

Headers

X-BetaenumRequiredDefaults to true

Opts in to the beta version of this endpoint. Must be true.

Allowed values:

Response

The bank account was removed. Repeating the call answers 404.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error