DELETE Attachments
Deletes the given attachment.
Request Information
URI Parameters
None.
Body Parameters
The attachment to delete. The Content field does not need to be filled in.
Attachment| Name | Description | Type | Additional information |
|---|---|---|---|
| AttachmentId | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AttachmentCategory | AttachmentCategory |
None. |
|
| Asset | Asset |
None. |
|
| FileType | string |
None. |
|
| FileSize | integer |
None. |
|
| UploadDate | date |
None. |
|
| Content | Collection of byte |
None. |
|
| SourceSystemId | string |
None. |
|
| CompanyId | globally unique identifier |
None. |
|
| CreateDate | date |
None. |
|
| CreateUser | string |
None. |
|
| LastModifiedDate | date |
None. |
|
| LastModifiedUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AttachmentId": "29389e2e-ea53-455c-92ef-0ae49009dfc3",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "3faa5ec5-15a5-4fe9-8a2e-f0d439a2867a",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "0cfe3c58-7541-4fc3-8086-93a2f0a54eb8",
"CreateDate": "2026-06-28T10:35:34.4354865-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-28T10:35:34.4354865-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "195a51c9-d608-414a-a871-ec4b3da43f66",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "615561d9-deea-4f3c-9526-782d99932a91",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9079a5a6-89eb-46b7-814f-5c3933c7540a",
"CreateDate": "2026-06-28T10:35:34.4354865-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:35:34.4354865-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "fbd593d4-5494-4812-81b2-312839dfeb1d",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-28T10:35:34.4354865-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:35:34.4354865-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3c2eb728-b716-4f2d-8e6b-2da92770f010",
"CreateDate": "2026-06-28T10:35:34.4354865-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-28T10:35:34.4354865-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-28T10:35:34.4354865-07:00",
"MeasurementValueNeededDate": "2026-06-28T10:35:34.4354865-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "5a1a49ca-8189-4dfd-9b5e-0ad4f768028d",
"CreateDate": "2026-06-28T10:35:34.4354865-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-28T10:35:34.4354865-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-28T10:35:34.4354865-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "646b7639-042e-4207-8163-ea35586aa8bf",
"CreateDate": "2026-06-28T10:35:34.4354865-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-28T10:35:34.4354865-07:00",
"LastModifiedUser": "sample string 7"
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"Total": 1,
"Message": "sample string 2"
}