edjx file delete

Deletes a specific file in a bucket.

edjx file delete <file-name> [flag]

Argument

file-name                   Name of the file.

Flag

-b, --bucket <bucket-id>     Optional. ID of the bucket associated with the file. If no bucket ID is entered, the current bucket is used.

Example

  1. Make sure you are in the organization view.

    root@edjx:~ # edjx config organization -i
  2. Switch to the bucket with the file you want to delete.

    root@edjx:~ # edjx config bucket -i
  3. List the files in the bucket.

    root@edjx:~ # edjx file list
  4. Take note of the file name for the file you want to delete.

  5. Issue the delete command for the file.

    root@edjx:~ # edjx file delete <file-name>