HotCodePush

member

List, get, update and remove members with hotcodepush member, including the role change and the ownership transfer.

hotcodepush member lists and changes the members of an organization, each with a role: owner, admin, billing or member, as Organizations defines them. Only update and delete need a session from login, not an API token. --member <id|email> names a member.

list

List the organization's members with their roles, 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 member list --organization Acme
hotcodepush member list --limit 10 --offset 10 --json

get

Print a member of the organization with their role and how they sign in.

OptionTypeDescription
--member <id|email>stringThe member, by id or email.
hotcodepush member get --member anna@example.com
hotcodepush member get --member 2a7d4e91-6c3b-4f58-8e0a-9b1c5d3f7e62 --json

update

Change a member's role. --role owner transfers the ownership to them, makes you an admin and asks once, --yes confirming in scripts.

OptionTypeDescription
--member <id|email>stringThe member, by id or email.
--role <role>admin | billing | member | ownerThe member's new role: admin, billing, member, or owner to transfer the ownership.
hotcodepush member update --member bob@example.com --role admin
hotcodepush member update --member 5e8a2c71-0b4d-4f39-9a6e-3c1d7b2f8e40 --role owner --yes

delete

Remove a member from the organization, or yourself to leave it. The Owner leaves only after transferring the ownership. Confirms once (--yes in a script).

OptionTypeDescription
--member <id|email>stringThe member, by id or email.
hotcodepush member delete --member bob@example.com
hotcodepush member delete --member 5e8a2c71-0b4d-4f39-9a6e-3c1d7b2f8e40 --yes --json

Last updated on

On this page