curl --request DELETE \
--url https://api.example.com/api/v1/chatflows/{id}{
"401": {},
"403": {},
"404": {},
"412": {},
"500": {},
"message": "<string>",
"id": "<string>"
}Delete a chatflow from your workspace
curl --request DELETE \
--url https://api.example.com/api/v1/chatflows/{id}{
"401": {},
"403": {},
"404": {},
"412": {},
"500": {},
"message": "<string>",
"id": "<string>"
}chatflows:delete or agentflows:deletecurl -X DELETE "https://your-flowise-instance.com/api/v1/chatflows/123e4567-e89b-12d3-a456-426614174000" \
-H "Authorization: Bearer YOUR_API_KEY"
const chatflowId = '123e4567-e89b-12d3-a456-426614174000';
const response = await fetch(`https://your-flowise-instance.com/api/v1/chatflows/${chatflowId}`, {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
});
const result = await response.json();
import requests
chatflow_id = '123e4567-e89b-12d3-a456-426614174000'
response = requests.delete(
f'https://your-flowise-instance.com/api/v1/chatflows/{chatflow_id}',
headers={'Authorization': 'Bearer YOUR_API_KEY'}
)
result = response.json()
{
"message": "Chatflow deleted successfully",
"id": "123e4567-e89b-12d3-a456-426614174000"
}