POST
Archive a banking account
Scope:
accounting:banks.writehttps://api.holded.com/api/v2/treasury/accounts/{id}/archiveArchives a banking account, hiding it from active views while preserving its transaction history. Archiving is reversible. A banking account must be archived before it can be permanently deleted.
Parameters
Path parameters
id
stringrequiredBanking account identifier
Request
python
import requests
url = "https://api.holded.com/api/v2/treasury/accounts/{id}/archive"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Accept": "application/json",
}
response = requests.post(url, headers=headers)
print(response.json())Responses
Success responses
204Banking account archivedError responses
401Invalid or missing API keyapplication/json403Insufficient permissionsapplication/json404Banking account not foundapplication/json429Rate limit exceededapplication/json