Update renewal notification settings

PUT https://www.digicert.com/services/v2/order/certificate/{{order_id}}/renewal-emails/{{status}}
Use this endpoint to enable or disable renewal notification emails for an order.

Example requests and responses

curl --request PUT 'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/renewal-emails/{{status}}' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json'
import requests

url = "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/renewal-emails/{{status}}"

payload  = {}
headers = {
  'X-DC-DEVKEY': {{api_key}},
  'Content-Type': 'application/json'
}

response = requests.request("PUT", url, headers=headers, data = payload)

print(response.text.encode('utf8'))
package main

import (
		"fmt"
		"strings"
		"net/http"
		"io/ioutil"
)

func main() {

		url := "https://www.digicert.com/services/v2/order/certificate/{{order_id}}/renewal-emails/{{status}}"
		method := "PUT"

		payload := strings.NewReader("")

		client := &http.Client {
		}
		req, err := http.NewRequest(method, url, payload)

		if err != nil {
				fmt.Println(err)
		}
		req.Header.Add("X-DC-DEVKEY", {{api_key}})
		req.Header.Add("Content-Type", "application/json")

		res, err := client.Do(req)
		defer res.Body.Close()
		body, err := ioutil.ReadAll(res.Body)

		fmt.Println(string(body))
}
var request = require('request');
var options = {
  'method': 'PUT',
  'url': 'https://www.digicert.com/services/v2/order/certificate/{{order_id}}/renewal-emails/{{status}}',
  'headers': {
    'X-DC-DEVKEY': {{api_key}},
    'Content-Type': 'application/json'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

204 No Content

// No Content

Path parameters

NameReq/OptDescription
order_idrequiredID of the order to update renewal notification settings for.
statusrequiredStatus of renewal notification settings for the order.
Allowed values: