Skip to content

Delete an accounting code

Request

Soft-deletes a GL code. Only available for businesses with a manual integration.

Any category mapped to this GL code will have its mapping cleared. Business admins and accountants will receive an ACCOUNTING_CODE_DELETED notification.

Security
BearerAuth
Path
client_idintegerrequired

The ID of the business.

Example:123
accounting_code_idstring, (uuid)required

The ID of the accounting code (GL code).

Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
DELETE
/v1/businesses/{client_id}/accounting-codes/{accounting_code_id}
curl -i -X DELETE \
  https://public.letsweel.com/v1/businesses/123/accounting-codes/3fa85f64-5717-4562-b3fc-2c963f66afa6 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

No Content