HotCodePush

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.

OptionTypeDescription
--name <name>stringThe organization's name.
hotcodepush organization create --name Acme
hotcodepush organization create --name Acme --json

get

Print an organization with its plan, spending cap and region.

hotcodepush organization get --organization Acme
hotcodepush organization get --json

list

List your organizations with your role in each, newest first.

OptionTypeDescription
--limit <count>numberHow many to list, at most 100; 50 by default.
--offset <count>numberHow many to skip: the offset the previous page ended with.
hotcodepush organization list
hotcodepush organization list --limit 10 --offset 10 --json

update

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.

OptionTypeDescription
--name <name>stringThe organization's new name.
--spending-cap <dollars>numberThe 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 --json

delete

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 --json

Last updated on

On this page