How to delete versions of data from an interactive map layer

The following request can be used to delete versions of data from an interactive map layer using the "version" query parameter.

The delete request works on one or more versions which are older than the specified version.
The query parameter "version" must be an integer, larger than 0 and the comparator can be either < or =lt=.

For example, to remove versions older than version 10, a DELETE /layers/{layerId}/changesets?version=lt=10 would be executed. The request will remove versions 9 through 0.

DELETE /<Base path for the interactive API from the API Lookup Service>/layers/{layerId}/changesets?version=lt={versionNumber}
Host: <Hostname for the interactive API from the API Lookup Service>
Authorization: Bearer <Authorization Token>
Cache-Control: no-cache
📘

Note

You can alternatively use an API Key instead of an OAuth bearer token in an authorization header.