Update Default Notification Configuration

Sets the default notification configuration that will be applied to all certificates that have not been explicitly configured. This configuration determines the conditions under which notifications will be sent and to whom they will be sent.

Use the Update Certificate Request's Notification Configuration endpoint to apply a custom notification configuration to a specific certificate request.

Request

Update the default notification configuration through the following endpoint:

HTTP Method Request URI

PATCH

https://api.vdms.io/sec/cps/v2.0/customers/notifications

Request Headers

This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.

Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).

Request Body

Pass the following request body parameters:

Name Data Type Description

notification_type

Required

String

Identifies the type of notification that will be configured. Valid values are:

CertificateRenewal | CertificateExpiring | PendingValidations

emails

Array of string values

Required when enabled=true

Defines one or more email addresses to which a notification will be sent.

Set this parameter to an email address associated with a MCC user in your account. Your account manager may also define an email address associated with a partner user. Our service returns a 400 Bad Request when this parameter is set to any other email address.

enabled

Boolean

Determines whether emails for this type of notification will be sent.

Response

The response to the above request includes an HTTP status code, response headers, and a response body.

Status Code

A status code indicates whether the request was successfully performed.

Response Headers

The response for this endpoint only includes standard HTTP response headers.

View common response headers.

Response Body

The response body for a successful request (200 OK) contains the following response elements.

Name Data Type Description

@id

String

Indicates the relative path to an endpoint through which you may retrieve the notification configuration for the requested certificate request.

@type

String

Returns Collection.

items

Array of objects

Contains the notification configuration for the requested certificate request.

items Array

The items array describes each notification configuration for this certificate request through the following properties:

Name Data Type Description

notification_type

String

Indicates the type of notification. Valid values are:

CertificateRenewal | CertificateExpiring | PendingValidations

emails

Array of string values

Indicates one or more email addresses to which a notification will be sent.

enabled

Boolean

Indicates whether emails for this type of notification will be sent.

Errors

The response body for an unsuccessful request may contain an error element that provides additional information.

View common error messages.

Sample Request and Response (JSON)

A sample JSON request is shown below.

[{
		"notification_type": "CertificateRenewal",
		"emails": ["joe@example.com", "jane@example.com"],
		"enabled": true
	}
]

A sample JSON response is shown below.

HTTP/1.1 200 OK

Cache-Control: private

Content-Type: application/json; charset=utf-8

Date: Thu, 15 Apr 2021 12:00:00 GMT

{
	"@id": "/v2.0/customers/notifications",
	"@type": "Collection",
	"items": [{
			"notification_type": "CertificateRenewal",
			"emails": [
				"joe@example.com",
				"jane@example.com"
			],
			"enabled": true
		}, {
			"notification_type": "CertificateExpiring",
			"emails": [
				"joe@example.com"
			],
			"enabled": true
		}, {
			"notification_type": "PendingValidations",
			"emails": [
				"jane@example.com"
			],
			"enabled": true
		}
	]
}