mDIS LogomDIS User Documentation
Home
Table of Contents
Source Code
Home
Table of Contents
Source Code
  • Delete

Delete

Used to delete one or more files in the upload directory.

URL : /api/v1/file/delete

URL Parameters : None

Method : POST

Auth required : YES

Permissions required

  • Roles: _administrator_, developer, operator

Data constraints

  • selectedFilenames must be an array of valid file names in the upload directory.
  • actionDelete must be set to true

Data example

{
  "selectedFilenames": [
    "I31.BW_5063_1_A_1.sql",
    "I30.BW_5063_1_A_1.txt"
  ],
  "actionDelete": true
}

Success Response

Code : 204 No Content

Content example : None