Skip to content

Watches

DELETE /darkcrawl/v1/watches/{watch_id}

Copy page

Delete a watch with its hits and alerts.

DELETE /darkcrawl/v1/watches/{watch_id}

Authentication: your key as a bearer token.

Path parameters

FieldTypeRequiredDefault
watch_idstringRequired

Request

bash
curl -X DELETE https://api.darkcrawl.dev/darkcrawl/v1/watches/WATCH_ID \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"

Response

Status 204. The reply has no body.

Errors

CodeStatus
NOT_FOUND404

What each code means, and what to do about it: Errors.

Notes

  • The reply is 204 with no body. Deliveries of its alerts that were waiting are cancelled.
  • An unknown id, and another company's watch, answer 404 NOT_FOUND.