• /
  • EnglishEspañolFrançais日本語한국어Português
  • EntrarComeçar agora

DeleteWorkflowDefinition

This API deletes all the workflow definition versions with the specified name.

In order to delete a definition, there must be no schedules using the definition. If the definition is currently used by a schedule, deleting the definition will fail and return an error accordingly.

All running workflow runs will continue to completion even if the definition is deleted.

Example

mutation {
workflowAutomationDeleteWorkflowDefinition(
definition: { name: "my-workflow" }
scope: { id: "12345678", type: ACCOUNT }
) {
definition {
name
}
}
}
Copyright © 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.