Skip to content
getgeolens.com

Revoke Map Share Endpoint

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

Revoke share token(s) for a map. Owner or admin only.

map_id
required
Map 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