Skip to main content
DELETE
Deletes a Discovery Agent. The agent stops searching and no longer appears in List agents or Get an agent. Its runs and matches are kept. Requires the write:discovery permission. The delete sets archived_at and paused_at to the current time and schedulable to false. Deleting an agent that is already deleted returns it again without changes.

Path Parameters

string
required
Agent ID.

Response

boolean
true when the request succeeds.
object
The deleted Discovery Agent.

Errors

  • 404 NOT_FOUND: no agent with this ID exists for your team. The message is Discovery agent not found.
  • 403 INSUFFICIENT_PERMISSIONS: the API key does not have the write:discovery permission.