Features
Delete Single Feature
Changed onDelete a feature by gid (hard delete).
The X-GeoLens-Tile-Cache-Version response header carries the dataset's tile_cache_version after the delete committed; a 204 response has no body to carry it in, unlike the create, replace and patch endpoints, which return it as a field of the written feature.
delete/datasets/{dataset_id}/features/{gid}
Request
- The document declares no server URL.
- Auth: one of:
- OAuth 2 (password, token URL /api/auth/login)
- API key in header X-Api-Key
- API key in query parameter api_key
Path parameters
dataset_idstring uuid required
gidinteger required
Query parameters
table_idstring
The table_id the feature was read with. If the dataset's data has been replaced since, the request is refused with 409 and code dataset_replaced, and nothing is written.
Response
Feature deleted.
Changes
- info
added the new optional
queryrequest parametertable_id
- info