Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Contents

Overview

The Delete Workload API deletes a workload in your account. 

The workload must be empty in order to delete.
You can use the Get Workloads API to find the workloadID (id). 

Sample request

DELETE https://api.armor.com/apps/7

Input

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

API Call / URLMethod / Type
/auth/authorize Delete

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

ParameterDescriptionRequired or optionalTypeExample
idThe ID of the workload that you want to delete.RequiredInteger7



Output

StatusResponse
202
400
  {
   "error": true,
   "message": "A workload cannot be deleted unless it is empty.  Please delete all
  virtual machines before deleting the workload."
  }


  • No labels

This page has no comments.