Skip to main content

DeleteRestrictedFile

Delete attachments

Description

  • Delete files in the Attachments field.
  • It is available only when the accessing user has workspace, data store, item, or field access.

Method

DELETE

Request URL Format

/api/v0/applications/:app-id/datastores/:datastore-id/items/files/:item-id/:field-id/:file-id

URL Params

app-id           : Application ID (application ID specified from the screen, or p_id)
datastore-id : Datastore ID (Datastore ID specified from the screen, or d_id)
item-id : Item ID
field-id : Field ID

Request URL Sample

DELETE https://api.xxx.com/api/v0/applications/APPID/datastores/DATABASEID/items/files/59ad2d8a0e247927638e761a/58cc9253fbfcba88307142d1/59af720c0e247958c7011a88

Response Sample

null