Void agent

POST https://caas.digicert.com/automationws/v1/agent/void
Use this endpoint to void an agent. Use this operation when the agent is duplicated or no longer in use.

Example requests and responses

cURL

curl --location --request POST 'https://caas.digicert.com/automationws/v1/agent/void' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "reason": "No longer in use",
    "identifiers": [
        "C4518024C883BB79"
    ],
    "divisionIds": [
        "677793"
    ]
}'

200 OK

{
    "error": null,
    "data": "Agent updated successfully"
}

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
reasonoptionalstringReason for voiding the agent.
identifiersrequiredarrayLicense keys associated with the agents.
divisionIdsrequiredarrayDivision IDs.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
Note: Returns null if there are no errors.
dataobjectMessage with information about the request.
.. dataobjectObject with details about the voided agent details.
.. .. idstringLicense key of the voided agent.
.. .. messagestringMessage with information about the request.