curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/geospatial/featuretypes/{featureTypeExternalId}/features/{featureExternalId}/rasters/{rasterPropertyName}/delete \
--header 'Authorization: Bearer <token>'{}Required capabilities:
geospatialAcl:READgeospatialAcl:WRITE
Delete a raster from a feature property. If there is no raster already, the operation is a no-op.
curl --request POST \
--url https://{cluster}.cognitedata.com/api/v1/projects/{project}/geospatial/featuretypes/{featureTypeExternalId}/features/{featureExternalId}/rasters/{rasterPropertyName}/delete \
--header 'Authorization: Bearer <token>'{}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"
External Id of the type provided by client. Must be unique among all feature external ids within a CDF project and feature type.
256^[A-Za-z][A-Za-z0-9_]{0,255}$"ocean_measure_W87H62"
Raster Id of the raster property provided by client. Must be unique among all feature property names within a feature type.
32^[A-Za-z][A-Za-z0-9_]{0,31}$"bathymetry"
Empty response.
The response is of type object.
Was this page helpful?