HotCodePush

invitation

Create, accept, list and withdraw invitations with hotcodepush invitation, by address and role or with the id and token from the mail.

hotcodepush invitation invites people to an organization by email with a role, admin, billing or member, and accepting makes them a member. The verbs need a session from login, not an API token. accept needs no organization, since the invitation names it.

create

Invite an address to the organization with a role. Members and invitations has the invitation's lifetime. Confirms once, since a mail leaves (--yes in a script).

OptionTypeDescription
--email <address>stringThe address to invite.
--role <role>admin | billing | memberThe role the invitee gets: admin, billing or member.
hotcodepush invitation create --email anna@example.com --role member
hotcodepush invitation create --organization Acme --email anna@example.com --role admin --yes --json

accept

Accept an invitation to an organization with the token from its mail. Without --invitation, a terminal lists your pending invitations to pick from.

OptionTypeDescription
--invitation <id>stringThe invitation, by the id its mail carries.
--token <token>stringThe token the invitation mail carries.
hotcodepush invitation accept
hotcodepush invitation accept --invitation 4c8e2a6f-1d3b-4e97-a5c0-8f2d6b4a1e93 --token p8Xc2LmQ4rTzN7vB --json

list

List the organization's pending invitations, the ones a link can still accept, 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 invitation list --organization Acme
hotcodepush invitation list --limit 10 --offset 10 --json

delete

Withdraw a pending invitation. The link in its mail stops working at once. Confirms once (--yes in a script).

OptionTypeDescription
--invitation <id|email>stringThe pending invitation, by id or email.
hotcodepush invitation delete --invitation anna@example.com
hotcodepush invitation delete --invitation 4c8e2a6f-1d3b-4e97-a5c0-8f2d6b4a1e93 --yes --json

Last updated on

On this page