Skip to main content
DELETE
Delete a saved Pendo query

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

query_id
string
required

The saved query's id, from /queries

Required string length: 1 - 64

Query Parameters

expected_version
integer | null

The config version you read. Sent: a change against a version that is no longer live is a 409 and writes nothing (0 = the config was never saved). Left out, the change always lands

Required range: x >= 0

Response

200 - application/json

Successful Response

id
string
required
version
integer
required

The config's version after the delete

deleted
boolean
default:true