---
title: "Update a company"
method: PATCH
path: "/v1/workspaces/{workspaceId}/companies/{companyId}"
tags: ["companies"]
---

# Update a company

`PATCH /v1/workspaces/{workspaceId}/companies/{companyId}`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/workspaces/{workspaceId}/companies/{companyId}`
- Auth: HTTP bearer

## Path parameters

- `companyId` string, required

## Request body

- UpdateCompanyDto
  - `name` string
  - `domain` string: Domain for auto-matching customer emails
  - `metadata` object

## Response `200`

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/529e6717d295?raw)
