Delete a client bank account
DELETE/api/clients/:document/bank-accounts/:bankAccountId
Delete a client bank account
Request
Path Parameters
document stringrequired
Client document
Example: 12345678901
bankAccountId integerrequired
Bank account ID
Example: 1
Responses
- 204
- 401
- 404
- 500
No content
Unauthenticated
- application/json
- Schema
- Example (from schema)
Schema
message message (integer)
Response 401
{
"message": "Invalid x-api-key"
}
Client or Bank Account Not Found
- application/json
- Schema
- Example (from schema)
Schema
message message (string)
Response 404
{
"message": "Resource not found"
}
Error
Authorization: http
name: paas_tokentype: httpscheme: bearerbearerFormat: JWTdescription: Token utilizado para autenticação na Api PaaS
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://docs.zrobank.io/api/clients/:document/bank-accounts/:bankAccountId' \
-H 'Authorization: Bearer <TOKEN>'