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": "ba3fbcf9-d943-47c0-be09-91a779a30712",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "eab21cd5-7e4f-4cec-a5d8-ee8ede0e8813",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "27b4412f-fe96-4aea-acd5-0177cfb13d50",
"CreateDate": "2026-10-04T14:38:50.6539936-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-10-04T14:38:50.6539936-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "5be5e8e0-d5f9-4b37-bbb3-5def987dd707",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7afdaab6-4a9e-47a5-8fe1-30b2f81c1e6c",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7bffb27d-f275-4989-954c-5ce8264011d4",
"CreateDate": "2026-10-04T14:38:50.6539936-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:50.6539936-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "1909d7e7-f4d2-4904-9f86-321f0fe6303a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-10-04T14:38:50.6539936-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:50.6539936-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "65356744-3fa1-4a61-a803-0a9dc4c085a2",
"CreateDate": "2026-10-04T14:38:50.6539936-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-10-04T14:38:50.6539936-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-10-04T14:38:50.6539936-07:00",
"MeasurementValueNeededDate": "2026-10-04T14:38:50.6539936-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "c11b973e-ef75-4a9c-b203-d2d431131bac",
"CreateDate": "2026-10-04T14:38:50.6539936-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-10-04T14:38:50.6539936-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-10-04T14:38:50.6539936-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "18daf4a0-8414-4878-8897-e8a72ec8f966",
"CreateDate": "2026-10-04T14:38:50.6539936-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-10-04T14:38:50.6539936-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"
}