Add SANs to ACME contract

PUT https://www.digicert.com/partner-subscription/api/v1/acme/{{acme_contract_id}}/sans

Use this endpoint to add Subject Alternative Names (SANs) to an existing ACME contract.

You cannot add SANs to a canceled ACME contract. If the contract has been canceled, this endpoint returns an error.

Example requests and responses

curl -X PUT \
  https://www.digicert.com/partner-subscription/api/v1/acme/12345/sans \
  -H 'Content-Type: application/json' \
  -H 'X-PARTNER-APIKEY: {{subaccount_partner_api_key}}' \
  -d '{
    "sans": [
      "api.example.com",
      "admin.example.com"
    ]
}'

204 No Content

The SANs were added successfully. The response does not include a body.

URL path and query parameters

NameReq/OptTypeDescription
acme_contract_idrequiredintegerUnique identifier of the ACME contract to update.

Request parameters

NameReq/OptTypeDescription
sansrequiredarray[string]Array of domain names to add to the ACME contract.
Maximum: 250 SANs for the contract.

Response parameters

This endpoint does not return response parameters.