Skip to main content
POST
/
geospatial
/
featuretypes
/
delete
JavaScript SDK
await client.geospatial.featureType.delete([{ externalId: 'ocean_temperature'}], { recursive : true });
{}

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.

Body

application/json

List of feature types to be deleted. It is possible to delete a maximum of 10 feature types per request. Feature types must not have related features. Feature types with related features can be deleted using force flag.

items
object[]
required
Required array length: 1 - 10 elements
recursive
boolean

Indicates if feature types should be deleted together with all related features. Optional parameter, defaults to false.

Example:

true

Response

Empty response.

The response is of type object.

Last modified on April 23, 2026