organization
Create, get, list, update and delete organizations with hotcodepush organization, including the spending cap.
hotcodepush organization manages organizations, which own apps, members and the bill, and every other command runs inside one.
Without the flag --organization <id|name>, the CLI takes the only organization you belong to.
create
Create an organization with you as its Owner.
| Option | Type | Description |
|---|---|---|
--name <name> | string | The organization's name. |
hotcodepush organization create --name Acme
hotcodepush organization create --name Acme --jsonget
Print an organization with its plan, spending cap and region.
hotcodepush organization get --organization Acme
hotcodepush organization get --jsonlist
List your organizations with your role in each, newest first.
| Option | Type | Description |
|---|---|---|
--limit <count> | number | How many to list, at most 100; 50 by default. |
--offset <count> | number | How many to skip: the offset the previous page ended with. |
hotcodepush organization list
hotcodepush organization list --limit 10 --offset 10 --jsonupdate
Rename an organization or set its spending cap, which applies now.
A cap change confirms once (--yes in a script). What the cap bounds is on Billing and MAU.
| Option | Type | Description |
|---|---|---|
--name <name> | string | The organization's new name. |
--spending-cap <dollars> | number | The most the organization pays a month, in whole dollars from $5 to $10,000. |
hotcodepush organization update --organization Acme --name "Acme Inc"
hotcodepush organization update --spending-cap 100 --yes --jsondelete
Delete an organization with everything in it. Deleting an organization has the restore window.
Confirms once (--yes in a script).
hotcodepush organization delete --organization Acme
hotcodepush organization delete --organization Acme --yes --jsonLast updated on