How to delete data from an object store layer
Note
Currently, the
blobservice supports REST API versionsv1andv2. Versionv1should be used to access versioned, index and stream (if the stream payload is larger than 1MB) layers. Versionv2should 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
blobv2APIs 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.
Updated 11 days ago