---
title: "Detach an asset from a project"
method: DELETE
path: "/v2/projects/{id}/assets/{assetId}"
tags: ["Projects"]
---

# Detach an asset from a project

`DELETE /v2/projects/{id}/assets/{assetId}`

Marks the project-asset link detached: the asset stops describing the project draft content (e.g. the projects-list thumbnail) but remains in the project asset library and keeps its access grants. Attaching again revives the link. Idempotent.

## Path parameters

- `id` string, required
- `assetId` string, required

## Response `204`

Asset detached from the project

## Other responses

- `404` — Project not found
- `422` — API key has no owner to resolve user-scoped projects

---

[API](https://skmtc.dev/sync/apis/sync-api-v2.md) · [All operations](https://skmtc.dev/sync/apis/sync-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sync/sync-api-v2/revisions/595901a0ee97/schema)
