--- title: "Add SANs to ACME contract" source_url: https://dev.digicert.com/partner-subscriptions-api/acme-contract-management/add-sans-to-acme-contract.html api_method: PUT api_endpoint: "/partner-subscription/api/v1/acme//sans" api_url: "https://www.digicert.com/partner-subscription/api/v1/acme/{{acme_contract_id}}/sans" --- **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. > **Warning** > > 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** ```bash 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.