PATCH
/
v1
/
entities
/
{entityId}
/
locations
/
{locationId}
curl --request PATCH \
  --url https://platform.realto.io/api/v1/entities/{entityId}/locations/{locationId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "<string>",
  "latitude": 123,
  "longitude": 123
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "label": "<string>",
  "latitude": 123,
  "longitude": 123
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string
required

The id of the Entity

locationId
string
required

The id of the location

Body

The location
label
string | null
latitude
number
longitude
number

Response

200
application/json
OK
id
string
required
label
string | null
required
latitude
number
required
longitude
number
required