Notification Settings V2
Set notification channels to get cloud and AI cost anomaly alerts
List notification settings for the given account id.
Account Identifier for the Entity.
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the list of notification setting object for given account
GET /gateway/ccm/api/notificationSetting/v2?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Create a notification setting for a perspective to receive cloud and AI cost anomaly alerts.
Account Identifier for the Entity.
The Cloud Cost Notification Setting definition
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the Notification Setting object created
POST /gateway/ccm/api/notificationSetting/v2?accountIdentifier=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 514
{
"uuid": "text",
"name": "text",
"accountId": "text",
"scope": "ALL_DATA",
"perspectiveId": "text",
"perspectiveName": "text",
"channels": [
{
"notificationChannelType": "EMAIL",
"channelUrls": [
"text"
],
"type": "text"
}
],
"anomalyAlertPreferences": {
"costThreshold": 1,
"costThresholdPercentage": 1
},
"enabled": true,
"defaultPreferences": true,
"createdAt": 1,
"lastUpdatedAt": 1,
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Update an existing notification setting for the given perspective id.
Account Identifier for the Entity.
Unique identifier for the notification setting
The Cloud Cost Notification Setting definition
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns the updated notification setting object
PUT /gateway/ccm/api/notificationSetting/v2?accountIdentifier=text&id=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Content-Type: application/json
Accept: */*
Content-Length: 514
{
"uuid": "text",
"name": "text",
"accountId": "text",
"scope": "ALL_DATA",
"perspectiveId": "text",
"perspectiveName": "text",
"channels": [
{
"notificationChannelType": "EMAIL",
"channelUrls": [
"text"
],
"type": "text"
}
],
"anomalyAlertPreferences": {
"costThreshold": 1,
"costThresholdPercentage": 1
},
"enabled": true,
"defaultPreferences": true,
"createdAt": 1,
"lastUpdatedAt": 1,
"createdBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
},
"lastUpdatedBy": {
"uuid": "text",
"name": "text",
"email": "text",
"externalUserId": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Delete notification settings for the given perspective id.
Account Identifier for the Entity.
Unique identifier for the Perspective
Bad Request
This is Failure entity as defied in Harness
Internal server error
Returns boolean indicating whether deletion of notification settings for a perspective was successful
DELETE /gateway/ccm/api/notificationSetting/v2?accountIdentifier=text&id=text HTTP/1.1
Host: nextgen-ce-d788d786-ssnpc
Accept: */*
{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?