Delete workflows with the Retool API
You can now delete workflows programmatically using the DELETE /api/v2/workflows/{workflowId} endpoint in the Retool REST API.
To use this endpoint, your API token must have the workflows:write scope. The endpoint only supports deleting standard workflows—deleting agents and functions via the API is not supported.
Refer to the Retool API reference for full endpoint details, including request parameters and error responses.