Determine the conditions under which notifications will be sent and to whom they will be sent for a specific certificate request.
Key information:
Our CDN is not a certificate authority. We have partnered with the Digicert certificate authority to fulfill your certificate requests.
Update a certificate request's notification configuration through the following endpoint:
HTTP Method | Request URI |
---|---|
PATCH |
https://api.vdms.io/sec/cps/v2.0/certificates/Certificate Request ID/notifications |
Define the following variable when submitting the above request:
VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). | Description |
---|---|
Required |
Replace this variable with the system-defined ID for the desired certificate request. Use the Get All Certificate Requests endpoint to retrieve a list of certificate requests and their system-defined ID. |
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).
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. |
The response to the above request includes an HTTP status code, response headers, and a response body.
A status code indicates whether the request was successfully performed.
The response for this endpoint only includes standard HTTP response headers.
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. |
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. |
The response body for an unsuccessful request may contain an error element that provides additional information.
A sample JSON request is shown below.
PATCH https://api.vdms.io/sec/cps/v2.0/certificates/11605/notifications HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
[{ "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/certificates/11400/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 } ] }