Skip to main content
DELETE
Delete one database watch

Authorizations

Authorization
string
header
required

WorkOS access JWT or a user-owned WorkOS API key. User keys are bound to one organization and restricted to their enabled product permissions. Session-only onboarding and session revocation require an interactive access JWT. No cookie session is assumed.

Headers

X-Request-Id
string

Optional caller-provided correlation identifier.

Required string length: 1 - 128
Idempotency-Key
string
required

Identifies one mutation and its canonical request payload.

Required string length: 1 - 128

Path Parameters

project_id
string
required

Project identifier.

Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
watch_id
string
required

Database watch identifier, derived from the watched schema and table.

Pattern: ^pgcf_watch_[0-9a-f]{8}$

Query Parameters

environment
enum<string>
required

Application environment the mutation applies to.

Available options:
dev,
prod

Response

The identifier of the deleted watch.

id
string
required
Pattern: ^pgcf_watch_[0-9a-f]{8}$
deleted
boolean
required