Skip to main content
PATCH
Update a Site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Path Parameters

id
string
required

Site ID

Body

application/json
address
Address-Update-Destroyable · object
name
string

Name of the site. Must be unique for a company.

lat
string
lon
string
site_type
enum<string>
Available options:
Plant,
Quarry,
JobSite,
Depot,
Other,
Daily,
EquipmentHomeBase
Example:

"Plant"

notes
string | null
next_billion_geofence
Geofence-Update · object
external_id
string | null
moving_site
MovingSite-Update-Destroyable · object
department_id
string<uuid> | null
contacts
Contact-Update-Destroyable · object[]

Response

OK

data
Site-Read · object
required