PendiumDocs

delete_visibility_query

Permanently delete a visibility query.

Permanently delete a visibility query. This is irreversible — the query will not appear in future scans. To keep it for reference, use update_visibility_query with isActive: false instead.

Deprecated alias: delete_query is still accepted but delete_visibility_query is the canonical name.

Authentication: Required. Anyone with access to the agent — including shared team members — can delete a query. A query that doesn't exist (or belongs to another agent) returns a not-found error.

Parameters

ParameterTypeRequiredDescription
syntheticIdintegerYesThe agent ID the query belongs to.
queryIdstringYesThe query ID to delete.

Returns

deletedQuery with the removed query's id and text.

On this page