Mangools/API

Remove keyword from tracking

Remove one or more tracked keywords from a tracking. Pass the target IDs in the request body as tracked_keyword_ids (non-empty array). Keywords are not permanently deleted — they can be brought back via POST /serpwatcher/trackings/{tracking_id}/tracked-keywords/restore. The tracking's statistics are flagged for recomputation.

DELETE
/serpwatcher/trackings/{tracking_id}/tracked-keywords

Authorization

ApiKeyAuth
x-access-token<token>

API token issued for your Mangools account, sent as an API key in the x-access-token HTTP header. This is NOT a standard RFC 6750 Authorization: Bearer <token> header. Auto-generated clients should be configured to send the token in x-access-token accordingly.

In: header

Path Parameters

tracking_id*string

tracking_id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.mangools.com/v3/serpwatcher/trackings/string/tracked-keywords" \  -H "Content-Type: application/json" \  -d '{    "tracked_keyword_ids": [      "5f9b1c2e3a4b5c6d7e8f9012"    ]  }'
{
  "keyword_id": "string",
  "tracking_id": "string",
  "user_id": "string",
  "kw": "string",
  "location_id": "string",
  "platform_id": "string"
}
{
  "error": {
    "type": "AuthError",
    "message": "Invalid API Key"
  }
}
{
  "error": {
    "type": "Error",
    "message": "Tag not found"
  }
}