---
title: "Patch office"
method: PATCH
path: "/api/offices/{officeGuid}"
tags: ["Offices"]
---

# Patch office

`PATCH /api/offices/{officeGuid}`

Patches office fields for the specified office GUID. Supported patch field is name. Returns 422 for invalid patch types, duplicate office names, or if the caller is not a broker.

### Validation & Requirements
#### Required Parameters
- `officeGuid` (path, string, format=guid)

#### Required JSON Body Fields
- None

#### Validations
- Invalid GUID values in `*Guid`/`*Guids` fields return `422 Unprocessable Entity`.
- Invalid date values in `*date*` fields return `422 Unprocessable Entity`.
- Missing required request body returns `422 Unprocessable Entity` with `Missing request body.`.
- Additional business-rule validation may return `422` with details in the `errors` array.

## Path parameters

- `officeGuid` string, guid, required

## Query parameters

- `Name` string, nullable

## Response `200`

- LinkedResponseOfPatchOfficeResponse
  - `value` PatchOfficeResponse
    - `guid` string, guid
    - `name` string, nullable
  - `warnings` string[], nullable
  - `links` Link[], nullable
    - `href` string, nullable
    - `rel` string, nullable
    - `method` string, nullable

## Other responses

- `404`
- `422`

---

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