Fluxir DocsFluxir Docs

Delete attachment by ID

DELETE/api/app/attachments/{id}

Removes both the stored file and the attachment record.

Header Parameters

X-Tenantstring

Tenant ID

Path Parameters

idintegerrequired

The attachment identifier.

Response

OK

No Content

Bad Request

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Unauthorized

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Forbidden

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Found

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Internal Server Error

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]

Not Implemented

errorobject
Show error properties
codestring
messagestring
detailsstring
dataobject
validationErrorsobject[]
Show validationErrors properties
messagestring
membersstring[]
Request
curl -X DELETE "https://api.example.com/api/app/attachments/<id>" \
  -H "X-Tenant: <X-Tenant>"
Response
(no body)