Archive agent
DELETE
/v1/agents/{agent_id}
const url = 'https://app.everruns.com/api/v1/agents/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.everruns.com/api/v1/agents/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” agent_id
required
string
Agent ID (prefixed, e.g., agt_…)
Responses
Section titled “ Responses ”Agent archived successfully
Invalid agent ID
Agent not found
Internal server error