Spaces method and path for this operation:
delete /s/{space_id}/api/workflows/workflow/{id}
Refer to Spaces for more information.
Delete a single workflow by its ID.
[Required authorization] Route required privileges: workflowsManagement:delete.
DELETE
/api/workflows/workflow/{id}
Soft delete (default)
curl \
-X DELETE "${KIBANA_URL}/api/workflows/workflow/{id}" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
curl \
-X DELETE "${KIBANA_URL}/api/workflows/workflow/{id}?force=true" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
DELETE kbn://api/workflows/workflow/{id}