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_queryis still accepted butdelete_visibility_queryis 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
| Parameter | Type | Required | Description |
|---|---|---|---|
syntheticId | integer | Yes | The agent ID the query belongs to. |
queryId | string | Yes | The query ID to delete. |
Returns
deletedQuery with the removed query's id and text.