Delete a workflow¶
Delete one or more workflows at the same time.
Method | Path |
---|---|
DELETE | /api/v1/workspaces/{workspaceId}/workflows |
Attributes¶
ids
array
An array of workflow identifiers. It must contain at least one item.
Example¶
curl --request DELETE 'https://app.yumisign.com/api/v1/workspaces/1/workflows' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [1,2]
}'
[
{
"identifier": "1",
"result": true,
"response": null,
"error": null
},
{
"identifier": "2",
"result": false,
"response": null,
"error": {
"code": 188,
"message": "Workflow can't be deleted",
"locale": "en",
"context": [],
"statusCode": 400
}
}
]