edjx bucket delete

Delete a bucket.

You must know the Bucket ID to execute this command.
edjx bucket delete <bucket-id>

Argument

bucket-id         Bucket identifier to be deleted.

Example

  1. View the list of buckets in an organization:

    root@edjx:~ # edjx bucket list
    Total Buckets : 2
    Bucket ID                             Name            Number of Files  Size   Access Level  Tracking Versions  Organization  Created By  Created On                     Last Updated
    2c65824b-4ac8-4192-9ce4-7ac0d9599d00  testing_bucket  0                0 B    Public        Enabled            edjdocs-01    Admin       2021-10-23 14:16:41 -0700 PDT  2021-10-23 14:16:41.8 -0700 PDT
    363835c8-3728-4376-bd07-4a2cb0cc5ea9  images01        1                190 B  Private       Enabled            edjdocs-01    edjdocs     2021-09-07 13:39:47 -0700 PDT  2021-09-07 13:41:36.737 -0700 PDT
  2. Copy the Bucket ID from the output.

    root@edjx:~ # edjx bucket delete 2c65824b-4ac8-4192-9ce4-7ac0d9599d00
    Use the arrow keys to navigate: ↓ ↑ → ←
    ? Delete bucket 2c65824b-4ac8-4192-9ce4-7ac0d9599d00?:
      ▸ Y
        N
    Bucket deleted successfully