Get scan subscription limits

GET https://daas.digicert.com/apicontroller/v1/scan/getScanSubscriptionLimits?&accountId=126993
Use this endpoint to obtain information about the subscription limits for a scan.

Example requests and responses

cURL

curl --location --request GET 'https://daas.digicert.com/apicontroller/v1/scan/getScanSubscriptionLimits?&accountId=126993' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw ''

200 OK

{
    "error": null,
    "data": {
        "subscriptionExpiryMessage": "valid",
        "subscriptionExpirySeverity": null,
        "subscriptionLimitMessage": "Certificate contract limit reached. Only previously configured scans will run. To enable scanning of new network segments, delete certificates or contact your account manager.",
        "subscriptionLimitSeverity": "Error"
    }
}

Response parameters

NameTypeDescription
errorobjectIncludes the error code if any.
dataobjectObject container for response.
.. subscriptionExpiryMessagestringMessage with information about the request.
Possible values: valid or true, if the subscription has not expired; error if the subscription has expired.
.. subscriptionExpirySeveritystringMessage with information about the request.
Possible values: warning (approaching expiration) or null (account subscription is valid).
.. subscriptionLimitMessagestringMessage with additional information about the subscription limits on scan.
.. subscriptionLimitSeveritystringMessage with information about the request.
Possible values: error if the subscription has expired.