Locations
Update a location
patch/locations/{id}
Request
- Base URLhttps://api.skywatch.co/earthcache
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Request body
Example request
{
"name": "Updated Name"
}Response
Success - location updated
Example response
{
"data": {
"id": "123456789",
"name": "Updated Name",
"aois": {
"features": [
{
"type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
-2.122218289218921
]
]
]
}
}
]
},
"aoiSize": "205200.87km2"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.