Delete all certificates and endpoints

POST https://daas.digicert.com/apicontroller/v1/certificate/deleteAllCertificatesEndpoints
Delete all certificates and endpoints associated with the scan results permanently from an account.

Example requests and responses

cURL

curl -X POST \
  https://daas.digicert.com/apicontroller/v1/certificate/deleteAllCertificatesEndpoints \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}' \
  -d '{
    "accountId": 5153184
}'

200 OK

{
    "error": null,
    "data": "All certificates and endpoints deleted."
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.

Response parameters

NameTypeDescription
errorobjectIncludes the error code, if any.
dataobjectMessage with information about the request.