Skip to main content
PATCH
/
profiles
/
{username}
/
location
Location
curl --request PATCH \
  --url https://api.offlineprotocol.com/api/v1/profiles/{username}/location \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "latitude": 35.6676,
  "longitude": 64.66
}'
{
  "data": "<any>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

username
string
required

Body

application/json
latitude
number
Example:

35.6676

longitude
number
Example:

64.66

Response

200 - application/json

Location updated

data
any
I