Delete an automation
DELETE
/v1/tasks/{taskId}/automations/{automationId}
const url = 'https://api.varman.io/v1/tasks/tsk_abc123def456/automations/auto_abc123def456';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-API-Key>'}};
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://api.varman.io/v1/tasks/tsk_abc123def456/automations/auto_abc123def456 \ --header 'X-API-Key: <X-API-Key>'Delete an automation in Varman. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”taskId
required
string
Example
tsk_abc123def456Unique task identifier
automationId
required
string
Example
auto_abc123def456Unique automation identifier
Responses
Section titled “Responses”Automation deleted successfully