Search

Delete File

Last Updated: Feb 14, 2022

Articles

Use this function to delete a file in Dropbox.

Syntax

Delete File (access_token, dropbox_path)

Parameters

Input Parameter Name Description
access_token Access token of Dropbox
dropbox_path Path of the file that needs to be deleted

To know more about access_token, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | File deleted successfully
  • On Failure returns 0 | Error Message

Sample

Delete File (ABCDCEF, /Invoice/TravelInvoice.pdf)

  • Uses the access token ABCDCEF to connect to the Dropbox account, deletes the file /Invoice/TravelInvoice.pdf.
    Returns File deleted successfully on deleting the file.

To view all the Dropbox functions, click here.

Did you find what you were looking for?