DELETE api/File/{folder}/{fileid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fileid

string

Required

folder

string

Required

Body Parameters

None.

Response Information

Resource Description

Asset
NameDescriptionTypeAdditional information
Id

integer

None.

NanId

globally unique identifier

None.

FileName

string

None.

Path

string

None.

AssetType

FileType

None.

ContentType

string

None.

Added

date

None.

Updated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NanId": "27e56dcb-df1c-403d-aaf7-bc7ffb6cf4db",
  "FileName": "sample string 3",
  "Path": "sample string 4",
  "AssetType": 0,
  "ContentType": "sample string 5",
  "Added": "2025-01-09T07:39:55.1164275+00:00",
  "Updated": "2025-01-09T07:39:55.1164275+00:00"
}

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

1
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="NanId"

27e56dcb-df1c-403d-aaf7-bc7ffb6cf4db
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="FileName"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Path"

sample string 4
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="AssetType"

document
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="ContentType"

sample string 5
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Added"

2025-01-09T07:39:55.1164275+00:00
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Updated"

2025-01-09T07:39:55.1164275+00:00
--MultipartDataMediaFormatterBoundary1q2w3e--