Skip to main content

abTestDelete

Soft-deletes a test in any status, hiding it from lists and detail queries; its variants are kept. Tests saved with createSnapshots also stop their per-variant snapshots. Deleting an already deleted test without per-variant snapshots returns it unchanged. Request only stored fields such as id, name, and status in the response. Requires A/B testing edit access.

abTestDelete(
id: Int!
): AbTest!

Arguments​

abTestDelete.id ● Int! non-null scalar​

Test id from abTestList or abTestCreate; already deleted ids are also accepted.

Type​

AbTest object​

A/B test settings and lifecycle returned by test lists, detail queries, and create/update operations. Metrics are populated by list queries; use abTestResultCounts for goal/date-scoped results.