Skip to main content

Delete Workflow

This endpoint allows you to delete an existing workflow by workflow id.

Endpoint: /api/v1/workflows/{id}

Method: DELETE

Request Parameters

id (required): The id of workflow to delete.

Responses

200 (OK) The request was successful, and the server has deleted the workflows with the provided id.

Body:

{
"message": "Persistence format deleted successfully",
"timestamp": "2023-09-28T15:33:40.902Z",
"version": "string"
}

401 (Unauthorized) This response is returned if the request is not authorized.

Body:

{
"message": "Unauthorized request",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": "string",
"version": "string"
}

404 (Not Found) This response is returned if the required resources are not found.

Body:

{
"message": "Not Found",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": "string",
"version": "string"
}

Body:

{
"message": "Precondition failed",
"timestamp": "2023-09-28T15:37:14.222Z",
"data": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}
},
"version": "string"
}

500 (Internal Server Error) This response is returned if an unexpected internal server error occurs.

Body:

{
"message": "Internal Server Error",
"timestamp": "2023-09-28T15:37:14.223Z",
"data": "string",
"version": "string"
}