DELETEPro+
/api/v1/models/{model_id}/assets/{asset_id}/file

Delete Asset File

Detach the file from an asset. The asset element itself stays in the model — only the attached binary is removed from object storage and the file metadata cleared.

To replace a file, you don't need this — post the new file to the Attach Asset File endpoint on the same asset. Use this only when the asset should keep existing with no file at all.

AuthenticationBearer mpt_... or OAuth JWT
Plan RequirementPro+

Parameters

NameTypeRequiredDefaultDescription
model_idString (UUID)[Delete Asset File] UUID of the model. Path parameter.
asset_idString (UUID)[Delete Asset File] UUID of the asset whose attached file should be removed. The asset element itself is kept. Path parameter.

Example Response

HTTP/1.1 204 No Content

This content was written collaboratively with AI.