Page tree




In This Document 


Was this document useful? 
Your Rating:
Results:
1 Star2 Star3 Star4 Star5 Star
2 rates


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