Skip to main content
PUT
Update a location

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Location id

Body

application/json
name
string
required
Maximum string length: 255
Example:

"Valls main entrance"

coordinates
object
required
radius
integer
required

Geofence radius in meters

Required range: 10 <= x <= 1000
Example:

150

address
string | null
Maximum string length: 255
Example:

"Carrer Major 1, Valls"

Response

Successful response

data
object

A geofence location of the authenticated company.

meta
object