Deletes a file or a directory. If target path doesn’t exist, the delete will fail.
Enter your API Key in the format: Bearer
Box ID
"c9bdc193-b54b-4ddb-a035-5ac0c598d32d"
Request parameters for deleting a file/directory
Target path in the box. If the path does not start with '/', the file/directory will be deleted relative to the working directory. If the target path does not exist, the delete will fail.
"/home/user/documents/output.txt"
Working directory. If not provided, the file will be read from the box.config.workingDir directory.
"/home/user/documents"
Delete file/dir
Response after deleting file/directory
Success message
"File/Directory deleted successfully"