cURL
curl --request DELETE \ --url https://api.example.com/v2/bank-statements/{statement_id} \ --header 'Authorization: Bearer <token>'
{ "type": "<string>", "status": 123, "title": "<string>", "errors": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ], "detail": "<string>" }
Delete a bank statement by ID. Only statements with status ‘pending_approval’ or ‘invalid’ can be deleted.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response