platformOS Community

How to do programically remove an email_notifications in YML from a form?

Rich - DataOT Mar 01 2021 at 02:14

How to remove it? There is no property to set?

Rich - DataOT Mar 01 2021 at 03:17

Managed to answer my own question, thanks Patrick for the quick reply

Need to update the notification and not the form. The notification is attached to the form not the other way around. Hope it helps someone else.

mutation RemoveEmailNotificationFromForm {
  admin_email_notification_update(email_notification: {form_configuration_ids: null}, id: "<YourFormID>") {
    id
  }
}
Please sign in or fill up your profile to answer a question