---
title: "Update an office"
method: PATCH
path: "/offices/{id}"
tags: ["Offices"]
---

# Update an office

`PATCH /offices/{id}`

Updates the office with the specified ID.

## Path parameters

- `id` string, required

## Request body

- UpdateOfficeDto
  - `name` string
  - `location` object, nullable
    - `street1` string, nullable
    - `street2` string, nullable
    - `postalCode` string, nullable
    - `city` string, nullable
    - `region` string, nullable
    - `state` string, nullable
    - `country` string, nullable
    - `countryCode` string, nullable
  - `emailAddresses` OrganizationalEmailAddressInputDto[]
    - `email` string, email, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean
  - `phoneNumbers` OrganizationalPhoneNumberInputDto[]
    - `phoneNumber` string, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean

## Response `204`

Office updated successfully.

## Other responses

- `400` — Bad Request
- `500` — Error response

---

[API](https://skmtc.net/spott/apis/spott-webhooks.md) · [All operations](https://skmtc.net/spott/apis/spott-webhooks/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spott/spott-webhooks/versions/ad1f8c51cf0a/schema)
