Skip to main content
POST
Pauses a Discovery Agent. It sets schedulable to false and paused_at to the current time, so no new runs are started. A run that is already in progress is left alone. Pausing an agent that is already paused returns it without changes. Requires the write:discovery permission. No request body is needed. Use Resume an agent to turn it live again.

Path Parameters

string
required
Agent ID.

Response

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

Errors

  • 404 NOT_FOUND: no agent with this ID exists for your team, or the agent was deleted. An agent that belongs to another team also returns 404. The message is Discovery agent not found.
  • 403 INSUFFICIENT_PERMISSIONS: the API key does not have the write:discovery permission.