Mutation
deleteCampaign
Hard-delete a campaign of a type the API provisions, exactly as deleting it in the app does. Irreversible.
Arguments
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- input DeleteCampaignInput! required
- Mutation input.
- id ID! required
- UUID of the campaign to delete. It must be of a type the API provisions (campaignType not null).
Returns
- deletedCampaignId ID
- The id of the deleted campaign. Null when the campaign was not found.
- userErrors [UserError!]!
- List of user-facing errors. Populated only when deletion failed.
- field [String!]
- Path to the input field that caused the error.
- message String!
- The error message.