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

Update actions (Email/SNS/Slack) associated with the metrics

URL Parameters

Parameter Type Description
ACTION_ID * String

Metric action id, you can obtain it from List All Actions API call

Example: ac-123456
ACCOUNT_ID String

Your Spotinst accountId associated with your token

Example: act-123abc
Request - Example

Headers
{
	"Content-Type": "application/json",
	"Authorization": "Bearer ${token}"
}
Body
Copied!
Downloaded!
{
    "name": "Email Spectrum",
    "type": "EMAIL",
    "params": {
      "email": "spectrum@spotinst.com"
    }
}