Skip to content
getgeolens.com

Remove Layer Endpoint

DELETE
/maps/{map_id}/layers/{layer_id}
curl --request DELETE \
--url https://example.com/api/maps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/layers/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Remove a layer from a map.

map_id
required
Map Id
string format: uuid
layer_id
required
Layer Id
string format: uuid

Successful Response

Bad request — invalid payload

Unauthorized — missing or invalid credentials

Forbidden — caller lacks write access

Not found

Conflict — resource state prevents the operation

Validation error

Internal server error