fbpx
DELETEhttps://api.spotinst.io/events/subscription/{SUBSCRIPTION_ID}?accountId={ACCOUNT_ID}

Delete an existing page

URL Parameters

Parameter Type Description
SUBSCRIPTION_ID * String

The subscription you want to update

Example: sis-123456
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": "402e783a-5c35-4d86-93bc-2a61a4408d9c",
    "url": "/events/subscription/sis-d2109541",
    "method": "DELETE",
    "timestamp": "2015-08-04T12:33:33.662Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    },
    "deleted": true
  }
}