addonDraftDiscard
Clears saved draft name, content, and audience together for a previously published add-on. Leaves its current published content and activation state in place. Requires survey edit access or CTA edit access matching the add-on type.
addonDraftDiscard(
id: String!
siteId: Int!
): AddonMutationResponse!
Arguments
addonDraftDiscard.id ● String! non-null scalar
Add-on UUID from addonList or addonDetail.
addonDraftDiscard.siteId ● Int! non-null scalar
Owning site ID from addonDetail; must match the add-on.
Type
AddonMutationResponse object
Saved add-on identity and preview token returned by addonCreate, addonEdit, and draft mutations.