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": "58d940de-e611-4590-9263-1064433e973d",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "5f5b11f2-74b2-4ec3-b892-fa96ca1a02ee",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "d8cde59b-3e65-4745-a28f-752359c9033a",
"CreateDate": "2026-10-31T23:08:22.1302291-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-31T23:08:22.1302291-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5a0f7c7d-efea-4489-a441-a080bbd9baa4",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "ea0cd6aa-7129-452f-a72b-79acfd2eb2cf",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "b8761000-2697-46ba-a6a4-9f8bbaf54d62",
"CreateDate": "2026-10-31T23:08:22.1302291-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-31T23:08:22.1302291-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "16954b7e-ea3f-420c-9263-b6697a06a3ff",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-31T23:08:22.1302291-07:00",
"MeasurementValueNeededDate": "2026-10-31T23:08:22.1302291-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9f49eda5-b599-4b21-a29d-64c1a1881e45",
"CreateDate": "2026-10-31T23:08:22.1302291-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-31T23:08:22.1302291-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-31T23:08:22.1302291-07:00",
"MeasurementValueNeededDate": "2026-10-31T23:08:22.1302291-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "11f6dec8-a090-4ac7-bbbb-82335ce7a7d2",
"CreateDate": "2026-10-31T23:08:22.1302291-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-31T23:08:22.1302291-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-31T23:08:22.1302291-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "d1086d0d-1575-4370-be47-d8e5dbbe91ca",
"CreateDate": "2026-10-31T23:08:22.1302291-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-31T23:08:22.1302291-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"
}