fbpx
DELETEhttps://api.spotinst.io/azure/compute/task/{TASK_ID}?accountId={ACCOUNT_ID}

          Delete an existing scheduling task

URL Parameters

Parameter Type Description
TASK_ID * String

The task id you want to delete

Example: sat-65432
ACCOUNT_ID String

Your Spotinst accountid associated with your token

Example: act-123abc
Request

Headers
{  
   "Content-Type": "application/json",
   "Authorization": "Bearer ${token}" 
}
Response - 200

Headers
{  
  "Content-Type": "application/json" 
}
Body
Copied!
Downloaded!
{
  "request": {
    "id": "4a0d5084-0b41-4255-82e5-d64a8232d7cc",
    "url": "/azure/compute/task/sat-65432",
    "method": "DELETE",
    "time": "2015-06-28T15:52:45.772Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    }
  }
}