delete File
Deletes a stored file.
Example:
if (client.deleteFile("file-api-abc123").deleted) println("gone")Content copied to clipboard
Return
A FileDeleted confirming the outcome
Parameters
file Id
Identifier of the file, of the form file-api-...
Throws
if fileId is blank
if the API returns a non-2xx status, including when no such file exists