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"
}
]
}
'{}Required capabilities:
geospatialAcl:READgeospatialAcl:WRITE
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"
}
]
}
'{}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.
External Id of the feature type provided by client. Must be unique among all feature type external ids within a CDF project.
32^[A-Za-z][A-Za-z0-9_]{0,31}$"ocean_measures"
List of features to be deleted. It is possible to post a maximum of 1000 items per request.
1 - 1000 elementsShow child attributes
Empty response.
The response is of type object.
Was this page helpful?