Page tree


Knowledge Base


Feedback

Have a suggestion for the Armor Knowledge Base?

Send a message to
kb@armor.com.









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


The following table describes the different parts of this API call: 

API Call / URLMethod / Type

/{entityType}/{entityId}/tasks

DELETE


The following table describes the parameter (or parameters) for this API call: 

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