v10

latestOpenAPI 3.1.02026-08-0375143791.1 KB
webdbs

Purge rows by URL pattern

Permanently deletes matching rows, change history, and saved pages.

post/webdbs/collections/{collection_id}/purge

Path parameters

collection_idstring required

Collection ID.

Example:col_123

Collection ID.

Request body

url_matchstring[] required

URL patterns for rows to permanently delete. Supports exact URLs, *, **, and :name path values.

tagsstring[]

Optional tags for tracking usage. Up to 20 tags, each 1 to 50 characters.

Example request

{
  "url_match": [
    "https://shop.com/products/:product_id",
    "https://foo.com/item?id=*",
    "https://foo.com/bar/*",
    "**/events/**"
  ],
  "tags": [
    "production",
    "team-alpha"
  ]
}

Response

Purge queued

collection_idstring required

Collection ID.

run_idstring required

Queued run ID.

queuedboolean required

Whether the run was queued.

Example response

{
  "collection_id": "col_123",
  "run_id": "run_123",
  "queued": true
}