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": "f4bacac3-b891-4e66-b361-de23f6e19983",
"Name": "sample string 1",
"Description": "sample string 2",
"AttachmentCategory": {
"AttachmentCategoryId": "4ad68c1c-d621-4b5f-baa0-a99b3fc76228",
"Name": "sample string 1",
"SourceSystemId": "sample string 2",
"CompanyId": "07e53a57-7e40-4a83-a09b-fbf00ce3d4b5",
"CreateDate": "2026-06-09T21:55:05.5644692-07:00",
"CreateUser": "sample string 4",
"LastModifiedDate": "2026-06-09T21:55:05.5644692-07:00",
"LastModifiedUser": "sample string 5"
},
"Asset": {
"AssetId": "dfcf8842-8531-4463-be3b-cfe664291d51",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "17bcb000-24e6-439f-afcf-ea2cfb82b3cc",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "79df3fe4-3e22-4fe9-8ad6-551667bbb490",
"CreateDate": "2026-06-09T21:55:05.5644692-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T21:55:05.5644692-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "afa81c81-a261-4ade-be85-ea58e372b403",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-09T21:55:05.5644692-07:00",
"MeasurementValueNeededDate": "2026-06-09T21:55:05.5644692-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "a9d79379-8db7-4d91-9c0e-e5502a699a13",
"CreateDate": "2026-06-09T21:55:05.5644692-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-09T21:55:05.5644692-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-06-09T21:55:05.5644692-07:00",
"MeasurementValueNeededDate": "2026-06-09T21:55:05.5644692-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f32424ac-54e7-4ae2-8365-cc3d178ce574",
"CreateDate": "2026-06-09T21:55:05.5644692-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-09T21:55:05.5644692-07:00",
"LastModifiedUser": "sample string 8"
},
"FileType": "sample string 3",
"FileSize": 1,
"UploadDate": "2026-06-09T21:55:05.5644692-07:00",
"Content": "QEA=",
"SourceSystemId": "sample string 4",
"CompanyId": "edb13e17-41dd-440a-ad29-a02adefaf657",
"CreateDate": "2026-06-09T21:55:05.5644692-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-09T21:55:05.5644692-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"
}