Add tags to binaries

POST
https://daas.digicert.com/apicontroller/v1/binaries/addTags

Add custom user tags to one or more binaries. Use tags to customize how you want to categorize and manage your binaries.

cURL
curl --location --request POST 'https://daas.digicert.com/apicontroller/v1/binaries/addTags' \
--header 'X-DC-DEVKEY: {{api_key}}' \
--header 'Content-Type: application/json' \
--data-raw 
'{
    "accountId": 5153184,
    "divisionIds": [],
    "filePaths": ["/opt/quest/libexec/vas/sugi/.asdcom"],
    "tags": "test12"
}'
200 OK
{
    "error": null,
    "data": "Tags updated successfully."
}

Request parameters

Name Req/Opt Type Description
accountId required string Account ID.
divisionIds optional array Division IDs.
filePath required string The file path from where the certificate is discovered.
Values can be comma-separated.
tags required string Custom user tags.

Response parameters

Name Type Description
error object Includes error codes, if any.
data string Message with information about the request.