Delete a page group or keyword cluster
Delete one page group or keyword cluster, at the version you read. A saved filter or a dashboard URL that names it is refused from then on, and a note scoped to it keeps testing the conditions it stored; it cannot be undone (your human would have to save it again), so delete only what they asked you to. It asks for confirmation: call it with dry_run: true to see what it would delete, then with confirm: true. A version someone has written since is VERSION_CONFLICT and nothing is deleted. The segment is read through site first (search:read): one that is not there, or another site's, is NOT_FOUND. Not billing-gated.
Request
- Base URL: https://frontshelf.io/api
- URL: https://frontshelf.io/api/v1/sites/{site}/search/segments/{segment_id}
- Auth: HTTP bearer
Path parameters
Site ID (site_…), origin (https://example.com), or bare domain, resolved server-side; the response carries the canonical ID.
The segment's id (sseg_…), from gsc_segments_list.
Query parameters
The version you read (gsc_segments_list); a version someone has written since is VERSION_CONFLICT and nothing is deleted.
true: check the call and say what it would do, without doing it.
true: go ahead with a change that asks for confirmation.
Response
Delete a page group or keyword cluster
Changes
No recorded changes to this operation across all 1 revision of this API.