---
title: "Delete company"
method: DELETE
path: "/v1/companies/{id}"
tags: ["Company"]
---

# Delete company

`DELETE /v1/companies/{id}`

## Path parameters

- `id` integer, required

## Response `200`

OK

- Company
  - `id` integer
  - `departmentId` integer
  - `name` string, required
  - `code` string, nullable
  - `email` string, nullable
  - `phone` string, nullable — Phone number of the company, with country code, without leading + (plus) sign
  - `web` string, nullable — Website domain of the company
  - `countryCode` string, nullable — ISO Alpha-2 country code, see <a href="https://www.iban.com/country-codes">https://www.iban.com/country-codes</a>
  - `state` string, nullable
  - `city` string, nullable
  - `town` string, nullable
  - `zip` string, nullable
  - `address` string, nullable
  - `createdUserId` integer
  - `createdDate` string, date-time, nullable
  - `updatedUserId` integer
  - `updatedDate` string, date-time, nullable
  - `customFields` string, nullable — A stringified JSON object mapping custom field names to values Example: {"My Text Custom Field":"Field Value","My Numeric Custom Field":2}
  - `photoUrl` string, nullable — Company logo URL

## Other responses

- `400` — Bad Request

---

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