DELETE
/
api
/
v1
/
projects
/
{projectId}
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"
  }
}
This action cannot be undone. All sessions within the project will be permanently deleted.

Request

projectId
string
required
The unique identifier of the project to delete
Authorization
string
required
Bearer token for authentication

Response

success
boolean
Indicates if the request was successful
data
object
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"
  }
}