curl --request DELETE \
--url http://localhost:3000/api/v1/projects/proj_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/projects/proj_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/projects/proj_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Project deleted"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Project not found"
}
Projects
Delete Project
Deletes a specific project for the authenticated user
DELETE
/
api
/
v1
/
projects
/
{projectId}
curl --request DELETE \
--url http://localhost:3000/api/v1/projects/proj_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/projects/proj_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/projects/proj_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Project deleted"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Project not found"
}
Path Parameters
string
required
Project ID to delete
Response
boolean
Indicates if the project was deleted successfully
string
Success or error message
curl --request DELETE \
--url http://localhost:3000/api/v1/projects/proj_123abc \
--header 'Authorization: Bearer <token>'
const response = await fetch('http://localhost:3000/api/v1/projects/proj_123abc', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer <token>'
}
});
const data = await response.json();
import requests
url = "http://localhost:3000/api/v1/projects/proj_123abc"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
data = response.json()
{
"success": true,
"message": "Project deleted"
}
{
"success": false,
"message": "Unauthorized"
}
{
"success": false,
"message": "Project not found"
}
Notes
This action is irreversible. Once a project is deleted, it cannot be recovered.
- Deleting a project will remove all associated data
- All workflows, agents, and other resources linked to this project will be affected
- Ensure you have proper backups before deleting a project

