curl -X DELETE \
-H "Authorization: Bearer YOUR_API_KEY" \
https://cloud.specstory.com/api/v1/projects/proj_abc123
{
"success": true,
"data": {
"deletedProject": {
"id": "proj_abc123",
"ownerId": "user_def456",
"name": "My Web App",
"icon": "Code2",
"color": "blue",
"createdAt": "2024-01-10T08:00:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"deletedAt": "2024-01-15T11:00:00.000Z"
}
}
Permanently delete a project and all its sessions
curl -X DELETE \
-H "Authorization: Bearer YOUR_API_KEY" \
https://cloud.specstory.com/api/v1/projects/proj_abc123
{
"success": true,
"data": {
"deletedProject": {
"id": "proj_abc123",
"ownerId": "user_def456",
"name": "My Web App",
"icon": "Code2",
"color": "blue",
"createdAt": "2024-01-10T08:00:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"deletedAt": "2024-01-15T11:00:00.000Z"
}
}
curl -X DELETE \
-H "Authorization: Bearer YOUR_API_KEY" \
https://cloud.specstory.com/api/v1/projects/proj_abc123
{
"success": true,
"data": {
"deletedProject": {
"id": "proj_abc123",
"ownerId": "user_def456",
"name": "My Web App",
"icon": "Code2",
"color": "blue",
"createdAt": "2024-01-10T08:00:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"deletedAt": "2024-01-15T11:00:00.000Z"
}
}
Was this page helpful?