---
title: "Delete office"
method: DELETE
path: "/v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}"
tags: ["Offices"]
---

# Delete office

`DELETE /v2/companies/{companyId}/legal-entities/{legalEntityId}/offices/{officeId}`

This endpoint deletes office by ID.

## Query parameters

- `detachUsers` boolean

## Response `204`

Deleted

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/company-api.md) · [All operations](https://skmtc.net/spotnana/apis/company-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/company-api/revisions/fc09f0cd1f4d/schema)
