Delete keywords

Delete keywords from a domain.

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

write Confirm

Returns how many keywords were deleted. AccuRanker's guide does not say whether the rank history of a deleted keyword is kept, and Cotlet cannot bring a keyword back, so the agent lists the keywords and waits for you. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: delete_keywords
NameTypeDescription
domain_id string required string Domain ID from list_domains.
keyword_ids string[] required string[] Keyword IDs from list_keywords.

Request

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

Example response

JSON

{
  "deleted_keywords": 31,
  "domain_id": "48213"
}

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.