Delete data from an object store layer
- Last UpdatedApr 5, 2024
- 1 minute read
Note
Currently, the
blob
service supports REST API versionsv1
andv2
. Versionv1
should be used to access versioned, index and stream (if the stream payload is larger than 1MB) layers. Versionv2
should be used to access the object store layer. Always pick the proper API version from API Lookup to ensure you get back the correct API version response. For instructions, see the API Lookup Developer Guide.
The following outlines the process for deleting data from the object key:
Obtain an authorization token.
Get API base URLs.
Delete data.
Obtain an authorization token for your HTTP requests.
For more information on obtaining an authorization token, see the
Identity and Access Management Guide.Get the API base URL for the
blob
v2
APIs for the catalog you want to publish to.To get the API base URLs, use the API Lookup service. For more information, see the
API Lookup Developer Guide.Delete data.
DELETE /<Base path for the blob API from the API Lookup Service>/layers/<Layer ID>/keys/<Object Key> HTTP/1.1 Host: <Hostname for the blob API from the API Lookup Service> Authorization: Bearer <Authorization Token> Cache-Control: no-cache
Note
HERE recommends that your application includes retry logic for handling HTTP 5xx errors. Use exponential backoff in the retry logic.
Related Publications
- Data API config v1 API reference
- Data API index v1 API reference
- Data API ingest v1 API reference
- Data API volatile blob v1 API reference
- Data API blob v2 API reference
- Data API metadata v1 API reference
- Data API query v1 API reference
- Data API notifications v2 API reference
- Data API publish v2 API reference
- Data API stream v2 API reference