Manage organizations using the CLI
Explore how to manage organizations using the CLI.
Using the CLI, you can:
Create an organization
Command: weka org create
Use the following command line to create an organization:
weka org create <name> <username> <password> [--ssd-quota ssd-quota] [--total-quota total-quota]
Parameters
Name | Value | Default |
---|---|---|
Name | Value | Default |
| Valid organization name. | |
| Valid username of the created Organization Admin. | |
| Password of the created Organization Admin. | |
| Allowed quota out of the system SSDs to be used by the organization. | 0 (not limited) |
| Total allowed quota for the organization (SSD and object store). | 0 (not limited) |
View organizations
Command: weka org
Rename an organization
Command: weka org rename
Use the following command line to rename an organization:
weka org rename <org> <new-name>
Parameters
Name | Value |
---|---|
| Current organization name or ID. |
| New organization name. |
Update the quota of an organization
Command: weka org set-quota
Use the following command line to update an organization's quota:
weka org set-quota <org> [--ssd-quota ssd-quota] [--total-quota total-quota]
Parameters
Name | Value |
---|---|
Name | Value |
| Organization name or ID. The root organization (org ID = 0 cannot be limited) |
| Allowed quota out of the system SSDs to be used by the organization |
| Total allowed quota for the organization (SSD and object store) |
Delete an organization
Command: weka org delete
Use the following command line to delete an organization:
weka org delete <org>
Deleting an organization is irreversible. It removes all entities related to the organization, such as filesystems, object stores, and users.
Parameters
Name | Value |
---|---|
| Organization name or ID. |
Related topics