How to delete data from an interactive map layer
The following outlines the process for deleting interactive map layer data:
- Obtain an authorization token.
- Use the
api-lookupAPI to get API base URLs. - Use the
interactiveAPI to delete the features you want deleted.
Obtain an authorization token
Obtain an authorization token for your HTTP requests. For more information, see the Identity and Access Management Guide.
Get API base URLs
Use the API Lookup service to get the API endpoints for the interactive API of the catalog containing the interactive map layer with
data handles you want to delete.
For instructions, see the API Lookup Developer Guide.
Delete data
In order to delete data, you must perform the DELETE action in the interactive API.
DELETE /<Base path for the interactive API from the API Lookup Service>/layers/<Layer ID>/features/id=<Feature ID 1<,<Feature ID 2>Response
HTTP/1.1 204 No ContentNote
A deletion will automatically increment the version number of the layer for interactive map layers.
Updated last month