deleteWorkflow

A Graze API POST request that deletes a workflow from the Workflow Engine.

Back to Graze API EndPoint Reference.Graze API EndPoint Reference

Request arguments

Endpoint deleteWorkflow takes the following request arguments:

Name

Type

Required

Description

auth_token

String

Yes

A valid auth_token returned from the authenticate request. See the authenticate endpoint for more information.authenticate

id

Integer

Yes

ID of the workflow you want to delete.

Response

Endpoint deleteWorkflow returns the following response:

Examples

The following examples demonstrate typical use of endpoint deleteWorkflow:

Request example

Example cURL request to delete workflow ID 12:

curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/deleteWorkflow" -H "Content-Type: application/json; charset=UTF-8" --data "{"id":12}"

Response example