DELETEPro+
/api/v1/models/{model_id}/assets/{asset_id}/fileDelete 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. Use this to replace a file (delete, then upload).
AuthenticationBearer mpt_... or OAuth JWT
Plan RequirementPro+
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
model_id | String (UUID) | ✓ | [Delete Asset File] UUID of the model. Path parameter. | |
asset_id | String (UUID) | ✓ | [Delete Asset File] UUID of the asset whose attached file should be removed. The asset element itself is kept. Path parameter. | |
model_id | String (UUID) | ✓ | [Delete Asset File] UUID of the model. Path parameter. | |
asset_id | String (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