Delete Company (by id)

DELETE {{base_url}}/company/v2/companies/:companyId

The ‘Delete company’ endpoint will let you delete a company when the company id has passed as a parameter.

Deleting the company will also delete all the data that has been associated with the company. The data includes bank accounts, bank transactions, forecasts etc.

Path variables

FieldTypeDescription
companyIdstringUnique identifier for the company

Success

202 Accepted

Error messages

ConditionResponse StatusResponse Body
Without company id403 Forbidden{“error”: “Invalid request”, “hint”: “Unsupported method or endpoint”}
Invalid company id404 Not Found

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
X-Api-Keystring
X-Partner-Idstring
Authorizationstring