Skip to main content
DELETE
/
api
/
v1
/
organizations
/
{organizationId}
/
projects
/
{projectId}
/
assets
/
{id}
curl -X DELETE "https://api.metabind.ai/api/v1/organizations/org123/projects/proj456/assets/asset789" \
  -H "x-api-key: YOUR_API_KEY"
{
  "message": "Asset deleted successfully"
}
Delete an asset from the project. Assets referenced by packages or components cannot be deleted.
Assets referenced by packages, components, or content items cannot be deleted. Use the Get Usage endpoint to check references before deletion.

Path Parameters

organizationId
string
required
The unique identifier of the organization
projectId
string
required
The unique identifier of the project
id
string
required
The unique identifier of the asset

Response

Returns a success message on successful deletion.
curl -X DELETE "https://api.metabind.ai/api/v1/organizations/org123/projects/proj456/assets/asset789" \
  -H "x-api-key: YOUR_API_KEY"
{
  "message": "Asset deleted successfully"
}