将文件删除

  • 请求地址 /v1/files/remove POST
  • 请求方式 JSON/Http POST
  • 请求参数
Properties Type Description
* uuid string 需要重命名该文件(夹)的uuid(可选) 可以为数组
* path string 需要重命名文件(夹)的路径(可选),可以为数组

示例

  • 将uuid为 dewjio3233ss 的目录删除

发送 /v1/files/remove :

  1. {
  2. "uuid":"dewjio3233ss"
  3. }

收到:

  1. {
  2. "status": 200,
  3. "result": 2,
  4. "code": "OK",
  5. "success": true,
  6. "token": "..."
  7. }
  • 使用path删除

发送 /v1/files/remove :

  1. {
  2. "path":"/d/e"
  3. }

收到:

  1. {
  2. "status": 200,
  3. "result": 4,
  4. "code": "OK",
  5. "success": true,
  6. "token": "..."
  7. }