Skip to main content
DELETE
/
ingest
/
v2
Delete entities
curl --request DELETE \
  --url https://api.enterspeed.com/ingest/v2 \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "originIds": [
    "p-5427",
    "p-6724"
  ]
}
'
{
  "status": 200,
  "deletedSourceEntities": [
    "p-5427"
  ],
  "notFoundSourceEntities": [
    "p-6724"
  ],
  "errors": {
    "1234": [
      "OriginId must be a string, not a number at position 3"
    ]
  }
}

Headers

X-Api-Key
string
required

Api key to validate your source.

Example:

"source-90880177-e9a1-47b3-9a40-7b728a6bafd8"

Body

application/json

Array of originIds to delete

object with an array of strings with originIds to delete

Response

Valid request. Processing of deleting the entities has begun.

A successful response is returned if one or more entities were valid. Only if all entities are invalid a 422 response is returned.

status
number
Example:

200

deletedSourceEntities
array
Example:
["p-5427"]
notFoundSourceEntities
array
Example:
["p-6724"]
errors
object
Example:
{
"1234": [
"OriginId must be a string, not a number at position 3"
]
}