--- title: "Remove SANs from ACME contract" source_url: https://dev.digicert.com/partner-subscriptions-api/acme-contract-management/remove-sans-from-acme-contract.html api_method: DELETE api_endpoint: "/partner-subscription/api/v1/acme//sans" api_url: "https://www.digicert.com/partner-subscription/api/v1/acme/{{acme_contract_id}}/sans" --- **DELETE** `https://www.digicert.com/partner-subscription/api/v1/acme/{{acme_contract_id}}/sans` Use this endpoint to remove Subject Alternative Names (SANs) from an existing ACME contract. > **Warning** > > You cannot remove SANs from a canceled ACME contract. If the contract has been canceled, this endpoint returns an error. ## Example requests and responses **cURL** ```bash curl -X DELETE \ 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": [ "old.example.com" ] }' ``` ## 204 No Content The SANs were removed 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 remove from the ACME contract.
## Response parameters This endpoint does not return response parameters.