Skip to main content
axiom.deleteSavedQuery deletes one saved query and returns null. It does not delete data or dashboard query copies.
automations/axiom-delete-saved-query.automation.ts
This operation changes or deletes provider data. Confirm the target before deployment.

Input

savedQueryId is required and selects the saved query to delete.

Output

Returns null after Axiom confirms deletion.

Permission and failures

The API token needs the dataset-level starredQueries|delete capability. Axiom returns an error when the saved query does not exist or the token cannot delete it. This mutation is not retried automatically after an ambiguous provider response.