Update agent

POST https://caas.digicert.com/automationws/v1/agent/update
Use this endpoint to update agent details for an automation agent.

Example requests and responses

cURL

curl --location --request POST 'https://caas.digicert.com/automationws/v1/agent/update' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "accountId": 5153184,
    "agentId": 2059,
    "nickname": "SOW-WinAgent",
    "licenseKey": "C719FB5C5FD6A4BE",
    "divisionId": "677793",
    "isSniConfigured": true,
    "automationMasterDtoList": [
        {
            "id": 325253,
            "automatedIp": "10.100.192.83",
            "automatedPort": "1900",
            "isRetry": false,
            "acmeClientId": 111,
            "isIgnore": false
        }
    ],
    "sniDomains": "www.digicert.com"
}'

200 OK

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

Request parameters

NameReq/OptTypeDescription
accountIdrequiredstringAccount ID.
agentIdrequiredlongID of the agent.
nicknameoptionalstringFriendly name of the agent.
licenseKeyrequiredstringAgent license key.
divisionIdrequiredstringDivision ID.
isSniConfiguredoptionalbooleanWhether the Server Name Indication (SNI) is configured.
Default:
false
automationMasterDtoListoptionalarrayArray of objects with automation details for each IP/port.
.. idoptionalintegerAutomation ID.
.. automatedIpoptionalstringIP to configure for automation.
.. automatedPortoptionalstringPort to configure for automation.
.. isRetryoptionalbooleanWhether to retry the automation if it fails. If true, retry is initiated.
.. acmeClientIdoptionalintegerID associated with an ACME client to configure for automation.
.. isIgnoreoptionalbooleanWhether to ignore the port.
Default:
false
sniDomainsoptionalstringServer Name Indication (SNI) domains to enable. This can be a single domain or a comma-separated list of domains.

Response parameters

NameTypeDescription
errorobjectObject with error details, if any.
dataobjectMessage with information about the request.