Add SANs to ACME contract
less than a minute
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
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| acme_contract_id | required | integer | Unique identifier of the ACME contract to update. |
Request parameters
| Name | Req/Opt | Type | Description |
|---|---|---|---|
| sans | required | array[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.
Was this page helpful?
Provide feedback