Logo
Cartes.io API API Documentation

Delete a marker on a map

DELETE {{cartes_api_base_url}}/maps/{{cartes_map_uuid}}/markers/{{cartes_marker_id}}?token=xxx&map_token={{cartes_map_token}}

 

Body PARAM

Key Datatype Required Description 
token
string This is the token specific to the marker
map_token
string If you have a map token, you can delete any marker on the map using that token. There's also no need to pass marker `token` in that case.



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "success": true }



Curl
curl -X DELETE 'cartes_api_base_url/maps/048eebe4-8dac-46e2-a947-50b6b8062fec/markers/3072?token=xxx&map_token=?token=xxx&map_token=' -d '{"lat":45,"lng":-18,"description":"Gray Lady","category":570}'

ENDPOINTS