Folders

Remove a file from a folder

Changed on

Removes the file from this folder only. The file itself is kept and stays in any other folder. To delete the file, use DELETE /files/{id}.

delete/workspaces/{id}/files/{file_id}

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/workspaces/{id}/files/{file_id}
  • Auth: HTTP bearer

Path parameters

idstring required

Folder id (uuid) or slug.

file_idstring required

Response

File removed from the folder

unlinkedtrue required
file_idstring required
workspace_idstring uuid required

Resolved folder id.

Changes