Skip to main content
Permanently deletes a workflow, including its draft and published versions. There is no confirmation query parameter. Holding WORKFLOW_DELETE_API is the confirmation. This endpoint requires editor access. That is broader than the builder, which still requires owner access.

Base URL

Dedicated deploymentsReplace api.langdock.com with <your-deployment-url>/api/public in all requests.

Required scopes

This endpoint requires the WORKFLOW_DELETE_API scope (Workflow Deletion API). This scope cannot be granted on a personal API key.

Parameters

Example

Response format

Success response (200 OK)

Error handling

Deleting a workflow is permanent.
Langdock intentionally blocks browser-origin requests to protect your API key and ensure your applications remain secure. For more information, please see our guide on API Key Best Practices.