Skip to content

Delete workflow

DELETE
/api/v1/workflows/{id}
Code sample: cURL
curl -X DELETE 'https://dashboard.justcrawl.io/api/v1/workflows/a47ac10b-58cc-4372-a567-0e02b2c3d479' \
-H 'Authorization: Bearer $JUSTCRAWL_API_KEY'

Soft-delete a workflow by ID — the row stays in the database with status='deleted' so completed jobs that referenced it can still resolve their workflow at audit time. The accompanying smart-workflow config (if any) is hard-deleted via deleteSmartWorkflow. Returns 204 with no body on success.

id
required
string format: uuid

The workflow ID.

Workflow soft-deleted; smart-workflow config (if any) hard-deleted.

Missing or invalid authentication token

Media type application/json
object
error
string
Example
{
"error": "Missing or invalid authentication token"
}

Insufficient permissions for this operation

Media type application/json
object
error
string
Example
{
"error": "No organization. Complete onboarding first."
}

Resource not found

Media type application/json
object
error
string
Example
{
"error": "Workflow not found"
}

Unexpected server error. Logs and PostHog $exception capture

Media type application/json
object
error
string
Example
{
"error": "Something went wrong"
}