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

Path Parameters

organizationId
string
required
Organization ID
projectId
string
required
Project ID
id
string
required
Content ID

Response

{
  "message": "Content successfully deleted",
  "id": "cont124"
}
Deleting content is a soft delete that changes the status to deleted. The content can be restored by updating its status. Version history is preserved.

Error Responses

Content Not Found

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

Code Examples

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