---
title: "PUT /offices/{office_id}"
method: PUT
path: "/offices/{office_id}"
tags: ["offices"]
---

# PUT /offices/{office_id}

`PUT /offices/{office_id}`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/offices/{office_id}`
- Auth: API key in header `Authorization`

## Request body

- AddOfficeParameters
  - `name` string
  - `address` string
  - `city_name` string
  - `country_code` string
  - `state_name` string, nullable
  - `office_type` 'office' | 'client' | 'other'
  - `latitude` number
  - `longitude` number
  - `office_approver_id` integer
  - `description` string
  - `contact_name` string
  - `contact_phone` unknown
  - `contact_email` string, email

## Response `200`

Request fulfilled, document follows

- BaseOfficeSchema
  - `id` integer
  - `name` string, required
  - `address` string, required
  - `latitude` number, required
  - `longitude` number, required
  - `contact_name` string
  - `contact_email` string, email
  - `contact_phone` unknown
  - `description` string, nullable
  - `office_approver_id` integer, nullable
  - `office_approver` BaseUser (unresolved $ref)
  - `office_type` 'office' | 'client' | 'other', required
  - `created_dt` string, date-time
  - `group_id` integer, nullable
  - `country_code` unknown
  - `city_name` unknown
  - `has_policy` boolean
  - `state_name` unknown
  - `users_count` unknown

## Other responses

- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
