---
title: "Bulk-untrack keywords for an app"
method: DELETE
path: "/api/v1/apps/{id}/keywords"
tags: ["Write"]
---

# Bulk-untrack keywords for an app

`DELETE /api/v1/apps/{id}/keywords`

## Request

- Base URL: `https://api.trysonar.app`
- URL: `https://api.trysonar.app/api/v1/apps/{id}/keywords`
- Auth: HTTP bearer

Requires an explicit selector (a bare delete is a 400). Pass all=true to untrack every keyword for the app, or ids=<id1,id2,…> (the id field from GET, not keyword_id; max 1000) for a subset. Only per-org tracking rows are removed. Requires an Indie or Agency plan and a write-scope API key.

## Path parameters

- `id` string, required

## Query parameters

- `all` boolean
- `ids` string

## Response `200`

{ deleted, requested }

- object
  - `data` object, required: Result payload — full field reference at https://trysonar.app/docs/api

## Other responses

- `400`: Missing/ambiguous selector or too many ids
- `401`: Missing or invalid API key
- `403`: Plan or scope insufficient (workspace endpoints need an Indie or Agency plan; writes also need a write-scope key)
- `404`: Resource not found or not tracked by your organization
- `429`: Rate limited — see `error.reason`: daily_limit (Indie 1,000, Agency 5,000, trial 150 requests/day, resets 00:00 UTC; see `reset_at`), anonymous_daily_limit / batch_too_large (keyless free tier), store_rate_limited or concurrency_limit (transient, honor `retry_after_seconds`)
- `500`: Unexpected server error

---

[API](https://skmtc.dev/trysonar/apis/sonar-api.md) · [All operations](https://skmtc.dev/trysonar/apis/sonar-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trysonar/apis/sonar-api/revisions/bf1d31dadd5f?raw)
