API Reference

This page documents the Corvus API endpoints.

Method

Endpoint

Description

DELETE

/ngsi-ld/v1/entities

Delete all entities matching the query

DELETE

/ngsi-ld/v1/temporal/entities

Delete temporal entities or attribute instances matching the query

DELETE /ngsi-ld/v1/entities

Deletes all entities matching the given query. Pass query parameters as you would for GET /ngsi-ld/v1/entities; Corvus forwards them to the broker and deletes every matching entity.

Example:

curl -X DELETE "http://localhost:4499/ngsi-ld/v1/entities?type=Sensor"

Response: 204 No Content on success; application/problem+json on error.

DELETE /ngsi-ld/v1/temporal/entities

Deletes temporal entities or attribute instances matching the query. Pass query parameters as you would for the broker’s temporal entities endpoint.

Example:

curl -X DELETE "http://localhost:4499/ngsi-ld/v1/temporal/entities?type=WeatherObserved"

Response: 204 No Content on success; application/problem+json on error.