Skip to main content
PUT
Update office
Version:v4

Authorizations

Authorization
string
header
required

Sesame Public API consumer token (Authorization: Bearer )

Path Parameters

officeId
string<uuid>
required

Body

application/json
name
string
required

Unique among the company offices.

Maximum string length: 255
address
string | null
required
Maximum string length: 255
description
string | null
required
Maximum string length: 255
coordinates
object | null
required

Geofence center. Null removes the geofence.

radius
integer | null
required

Geofence radius in meters. Only used with coordinates; 100 when null.

Required range: 1 <= x <= 2147483647
defaultEmployeesDateTimeZone
string | null
required

PHP time zone identifier. Null keeps the current one.

Example:

"Europe/Madrid"

Response

The office was updated.