--- title: "Update renewal notifications" source_url: https://dev.digicert.com/certcentral-apis/services-api/certificates/update-renewal-notifications.html api_method: POST api_endpoint: "/apicontroller/v1/certificate/updateRenewalEmailPrefere" api_url: "https://daas.digicert.com/apicontroller/v1/certificate/updateRenewalEmailPrefere" --- **POST** `https://daas.digicert.com/apicontroller/v1/certificate/updateRenewalEmailPrefere` Use this endpoint to enable or disable renewal notifications for SSL/TLS certificates that are expiring soon, regardless of issuing Certificate Authority (CA). > **Info** > > This endpoint controls whether renewal notifications are enabled or disabled for the specified discovered certificates. To configure additional renewal notification recipients, see [Update renewal notification recipients](https://dev.digicert.com/md/certcentral-apis/services-api/containers/update-renewal-notifications-recipient.md). ## Example requests and responses **cURL** ```bash curl -X POST \ https://daas.digicert.com/apicontroller/v1/certificate/updateRenewalEmailPrefere \ -H 'Content-Type: application/json' \ -H 'X-DC-DEVKEY: {{api_key}}' \ -d '{ "accountId": 126993, "divisionIds": [69748, 69750, 97665, 253787, 96846, 70530, 100045, 98332, 126324, 69749, 303027, 94317, 124925, 553810, 531373, 376492], "certificateId": ["38acaea364581289a6fa38de3108841b19078e0d"], "renewalEmailPreference": true }' ``` ## 200 OK ```json { "error": null, "data": { "error": null, "data": "Renewal notices enabled." } } ``` ## Request parameters
Name Req/Opt Type Description
accountId required string ID of the CertCentral account that contains the discovered certificates whose renewal notification settings you want to update.
divisionIds optional array List of division (container) IDs associated with the user in the specified CertCentral account.
certificateId required array Unique DigiCert-generated ID for the certificate found on the endpoint. Get the certificate ID from the Order info API request.
renewalEmailPreference required boolean Whether to send renewal notification emails for the specified discovered certificates. Set to true to enable notifications or false to disable them.
## Response parameters
Name Type Description
error object Includes the error code, if any.
data object Object container for response.
.. data string Message with information about the request.