Overview

The Delete Tasks API deletes a scheduled event that is associated with an entity. 

You can use the Get VMs or Get VM Detail APIs to find the entity ID (entityId).


Sample request

DELETE https://api.armor.com/vms/100/tasks
{
"action": "delete"
}

Input

API Call / URLMethod / Type

/{entityType}/{entityId}/tasks

DELETE


 

ParameterDescriptionRequired or optionalTypeExample

entityType

The type of the entity

(You must enter vms.)

RequiredStringvms
entityIdThe ID of the entityRequiredInteger100



Sample return

StatusResponse
200
Deleted task 12345 for EntityType: vms and EntityId: 100
400
Could not delete task 12345 for EntityType: vms and EntityId: 100ype: vms and EntityId: 100