Automations
Discard staged draft changes
Drops draftSequence/draftTrigger/draftExitCriteria without touching the live, running automation - use when staged edits turned out to be wrong. Not validated (there is nothing to validate away). Requires { "confirm": true } in the body - omit it (or send false) to get back the automation's current full state with confirmationRequired: true instead, with nothing applied. Always fetch and show the caller (or end user) that state before sending confirm: true.
post/v1/projectId/{projectId}/automations/{id}/discard-draft
Request
- Base URL: https://api.bluefox.email
- URL: https://api.bluefox.email/v1/projectId/{projectId}/automations/{id}/discard-draft
- Auth: HTTP bearer
Path parameters
projectIdstring required
The project _id, found in the app under Project Settings.
idstring required
Request body
Response
OK - check result.hasErrors/result.confirmationRequired before assuming the action actually applied.
Example response
{
"status": 200,
"result": {
"hasErrors": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.