Skip to main content
POST
/
geospatial
/
featuretypes
/
{featureTypeExternalId}
/
features
/
delete
Delete features
curl --request POST \
  --url https://{cluster}.cognitedata.com/api/v1/projects/{project}/geospatial/featuretypes/{featureTypeExternalId}/features/delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "externalId": "measurement_point_765"
    },
    {
      "externalId": "measurement_point_863"
    }
  ]
}
'
{}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Path Parameters

featureTypeExternalId
string
required

External Id of the feature type provided by client. Must be unique among all feature type external ids within a CDF project.

Maximum string length: 32
Pattern: ^[A-Za-z][A-Za-z0-9_]{0,31}$
Example:

"ocean_measures"

Body

application/json

List of features to be deleted. It is possible to post a maximum of 1000 items per request.

items
object[]
required
Required array length: 1 - 1000 elements

Response

Empty response.

The response is of type object.

Last modified on April 23, 2026