Chameleoon MAX · Email templates
deleteEmailTemplate mutation
deleteEmailTemplate is a GraphQL mutation of the Chameleoon MAX API. Send it as POST https://max-api.chameleoon.sk/api/v1/graphql with your API key, see Chameleoon MAX.
Deletes the template and returns its code. A message already sent with it keeps its own copy.
- Requires the
emailTemplate.managepermission. CONFLICTwith reasonTEMPLATE_CHANGEDwhen somebody saved the template after you read it.NOT_FOUND(fieldcode) when the template does not exist.
Arguments
input:DeleteEmailTemplateInput!· required
Returns
String!
Example
Mutation
Code
Variables
Code
Response
Code
Values are illustrative: replace IDs and codes with your own before you send the call.