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
| Name | Type | Description |
|---|---|---|
| domain_id string required | string | Domain ID from list_domains. |
| keyword_ids string[] required | string[] | Keyword IDs from list_keywords. |
Request
curl -X DELETE "https://cotlet.dev/api/v1/accuranker/domains/domain_8c41d2/keywords?keyword_ids=keyword+ids" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("accuranker", "delete_keywords", {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"]}) const result = await cotlet.call('accuranker', 'delete_keywords', {"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"]}); cotlet call accuranker delete_keywords --data '{"domain_id":"domain_8c41d2","keyword_ids":["keyword ids"]}' Example response
{
"deleted_keywords": 31,
"domain_id": "48213"
}