edjx bucket update
Updates a specific bucket.
You must know the Bucket ID to execute this command. |
Options
Option | Required | Type | Description |
---|---|---|---|
|
Yes |
string |
The bucket UUID to update. |
|
No |
string |
Name of the bucket to update. |
|
No |
bool |
Indicates that the contents of the bucket will be public (true) or private (false). |
You must include the n, --name or -p, --public flags when executing this command.
|
Global Flags
Option | Required | Type | Description |
---|---|---|---|
|
No |
Displays inline help for the command. |
|
|
No |
string |
Location of client configuration file (default file path is |
Update the Access Level of a Bucket
To update the access level of a bucket:
-
Set the organization to associate with all EDJX operations.
edjx config organization -i
-
View the buckets associated with the organization.
edjx bucket list
Total Buckets : 1 Name Bucket ID Number of Files Size Access Level Track Versions Organization Created By Created On Last Updated images 08670a14-ebd8-4158-8669-14e8a9c61f70 2 22.0 kB Private Enabled blank_org edjdocs 2022-06-23 09:50:52 -0700 MST 2022-06-23 10:19:50.575 -0700 MST
-
Copy the Bucket ID of the bucket you want to update.
-
Update the bucket as needed.
edjx bucket update <bucket-UUID> -p <true|false>
Sample Output
root@edjx:~ # edjx bucket update 08670a14-ebd8-4158-8669-14e8a9c61f70 -p false Bucket updated successfully.