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
| Name | Type | Description |
|---|---|---|
| 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 -X DELETE "https://cotlet.dev/api/v1/accuranker/domains/domain_8c41d2/tags?keyword_ids=keyword+ids&tags=tags" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accuranker", "remove_tags", {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]}) const result = await cotlet.call('accuranker', 'remove_tags', {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]}); cotlet call accuranker remove_tags --data '{"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"],"tags":["tags"]}' Example response
{
"untagged_keywords": 31,
"tags_removed": [
"q3-test"
],
"skipped": []
}