BoldSales

API Documentation

Remove tags from companies

post/api/v1/companies/remove-tags

Removes one or more tags from multiple companies in a single request. Allows removal of existing tags from company records for better data management and filtering.

Code snippet

curl -X 'POST' \
  'https://{yourdomain}/api/v1/companies/remove-tags' \
  -H 'accept: text/plain; x-api-version=1.0' \
  -H 'x-api-key: {your API key}' \
  -H 'Content-Type: application/json-patch+json; x-api-version=1.0' \
  -d '{
    "data": {
      "recordIds": [1, 2, 3],
      "tagIds": [1001, 1002]
    }
  }'

Request body

recordIdsarrayRequiredList of IDs of the companies to remove the tags from.
tagIdsarrayRequiredList of tag identifiers to be removed from the specified companies.

Example response

200 Success

{
  "message": "Tags updated successfully."
}