Skip to main content
PUT
Update site

Authorizations

x-api-key
string
header
required

API key for authentication. Contact your administrator to get an API key.

Path Parameters

id
string
required

Site ID

Body

application/json

Site input data for creation/update

code
string
required

Site code

name
string

Site name

street
string

Street address

city
string

City name

state
string

State or province

country
string

Country name

zip_code
string

Postal code

Response

Successfully updated site

Site entity (API response)

id
string<uuid>

Unique identifier

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

code
string

code code

name
string

name name

city
string

City

country
string

Country

state
string

State

street
string

Street

soft_deleted
string<date-time>

Soft deletion timestamp

soft_deleted_by
string

User who soft deleted the record

zip_code
string

zip code

account_id
string<uuid>

Account ID