---
title: "Archive Company (Deprecated)"
method: DELETE
path: "/v1/accounting/company/{id}"
tags: ["API / Accounting", "Use case / Accounting"]
deprecated: true
---

# Archive Company (Deprecated)

`DELETE /v1/accounting/company/{id}`

> **Deprecated.**

Archive the company. This is a soft-delete: the company record is preserved and its `archived_customer`, `archived_subcontractor`, and `archived_buyer_or_seller` flags are set to `true` so it no longer appears in active lists.(deprecated, use /company/{id} instead)

## Path parameters

- `id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Bad Request — invalid input or malformed request
- `401` — Unauthorized — missing or invalid authentication credentials
- `403` — Forbidden — insufficient permissions for this operation
- `422` — Validation Error
- `429` — Too Many Requests — rate limit exceeded. See the `Retry-After` header
- `500` — Internal Server Error
- `503` — Service Unavailable — temporarily unable to handle the request

---

[API](https://skmtc.dev/qargo/apis/qargo-tms-api.md) · [All operations](https://skmtc.dev/qargo/apis/qargo-tms-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qargo/qargo-tms-api/revisions/56fb7643aeba/schema)
