Remove tags from keywords

Take static tags off keywords.

DELETE https://cotlet.dev/api/v1/accuranker/domains/{domain_id}/tags

write

Returns how many keywords lost a tag. The tag stays in the Tag Cloud, and a dynamic tag is skipped and listed in skipped, because AccuRanker removes dynamic tags by itself. It reaches no one and is undone with add_tags, so it does not wait for your OK.

Parameters

Parameters: remove_tags
NameTypeDescription
domain_id string required string Domain ID from list_domains.
keyword_ids string[] required string[] Keyword IDs from list_keywords.
tags string[] required string[] Tag names to remove.

Request

cURL
curl -X DELETE "https://cotlet.dev/api/v1/accuranker/domains/domain_8c41d2/tags?keyword_ids=keyword+ids&tags=tags" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("accuranker", "remove_tags", {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]})
Node.js
const result = await cotlet.call('accuranker', 'remove_tags', {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]});
CLI
cotlet call accuranker remove_tags --data '{"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]}'

Example response

JSON

{
  "untagged_keywords": 31,
  "tags_removed": [
    "q3-test"
  ],
  "skipped": []
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.