Skip to main content
DELETE
/
v1
/
organizations
/
{organizationId}
/
projects
/
{id}
Delete Project
curl --request DELETE \
  --url https://api.example.com/v1/organizations/{organizationId}/projects/{id}

Path Parameters

organizationId
string
required
Organization ID
id
string
required
Project ID

Response

{
  "message": "Project successfully deleted",
  "id": "proj123"
}
Deleting a project is a destructive operation. All components, content types, content, and assets within the project will be soft-deleted. Consider archiving the project instead if you may need to restore it later.

Error Responses

Project Not Found

{
  "error": {
    "code": "NOT_FOUND",
    "message": "Project not found"
  }
}

Project Has Dependencies

{
  "error": {
    "code": "HAS_DEPENDENCIES",
    "message": "Cannot delete project that is referenced by other projects",
    "details": {
      "dependentProjects": ["proj456", "proj789"]
    }
  }
}

Code Examples

curl -X DELETE "https://api.metabind.ai/v1/organizations/org123/projects/proj123" \
  -H "Authorization: Bearer YOUR_API_KEY"