Notification Subscription Service
Update Account Notification Policy
Update the account notification policy
Note: This service is deprecated. Use the Notification Center Service.
put/events/notification/accountPolicy
Request
- Base URLhttps://api.spotinst.io
- URLhttps://api.spotinst.io/events/notification/accountPolicy
- AuthHTTP bearer
Parameters
#/paths/~1azure~1costs/get/parameters/0 (unresolved $ref)
Request body
Example request
{
"accountPolicy": {
"emailPolicy": {
"statements": [
{
"category": "Elastigroup Errors",
"subCategory": "Launch instances failures",
"isEnabled": true,
"applyOnFutureResources": true,
"allowedResources": [
{
"id": "sig-1234"
}
],
"deniedResources": [
{
"id": "sig-9999"
}
]
}
]
},
"slackPolicy": {
"statements": [
{
"category": "Elastigroup Errors",
"subCategory": "Launch instances failures",
"isEnabled": true,
"applyOnFutureResources": true,
"allowedResources": [
{
"id": "sig-1234"
}
],
"deniedResources": [
{
"id": "sig-9999"
}
]
}
]
}
}
}Response
(unresolved $ref)
Changes
No recorded changes to this operation across all 12 revisions of this API.