fbpx
DELETEhttps://api.spotinst.io/spectrum/metrics/action/{ACTION_ID}?accountId={ACCOUNT_ID}

Delete the metric action

URL Parameters

Parameter Type Description
ACTION_ID String

The Action Id of metric you want to delete

Example: ac-123456
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-12345
Request

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

Headers
{
  "Content-Type": "application/json"
}
Body
Copied!
Downloaded!
{
    "request": {
        "id": "cd828222-0cfc-4f61-b6df-20a4478b5e1b",
        "url": "/spectrum/metrics/action/ac-f44ec35c78ce?accountId=act-123456",
        "method": "DELETE",
        "timestamp": "2018-07-02T20:49:33.505Z"
    },
    "response": {
        "status": {
            "code": 200,
            "message": "OK"
        }
    }
}