Skip to content

Delete an attachment

DELETE
/attachments/{id}
curl --request DELETE \
--url https://app.buildtrace.eu/api/attachments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Required scope: attachments:write.

id
required
string format: uuid

No content

Unauthorized

Not found

The attachment is shown as an image in a work instruction (a revision’s process or an ECO’s) or in a built unit’s frozen process, so deleting it would rewrite that process or record. Remove it from a draft process first; on a released process or a built unit it is kept.

Media typeapplication/json
object
error
required
string

Example generated

{
"error": "example"
}