Mutation
mutation DeleteWorkflowStep($input: DeleteWorkflowStepInput!) {
deleteWorkflowStep(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"stepId": "id"
}
}Response
{
"data": {
"deleteWorkflowStep": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteWorkflowStep
Delete a single step from a workflow. You are responsible for updating any steps that reference this step in their transitions.
MUTATION
deleteWorkflowStep(input: DeleteWorkflowStepInput!): DeleteWorkflowStepOutput!Arguments
input
required
Returns
error
Mutation
mutation DeleteWorkflowStep($input: DeleteWorkflowStepInput!) {
deleteWorkflowStep(input: $input) {
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"stepId": "id"
}
}Response
{
"data": {
"deleteWorkflowStep": {
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

