envshed member
Manage org members from the CLI. Requires admin or owner role.
All member commands reject service tokens with a 403 error.
member list
envshed member list [options]
Lists all members in the organization with their email, name, role, and join date.
Options
| Option | Description |
|---|---|
-o, --org <slug> | Organization slug |
--output json | Print JSON output |
member invite
envshed member invite <email> [options]
Sends an invitation to the given email address. The invitee receives an email with a link to join the organization.
The invite stays pending until the invitee accepts it by signing in with that email address. Only then do they become a member, and on paid plans the seat is billed from that moment. The link expires in 7 days and works once. Owners and admins can resend (which sends a new link) or cancel pending invites from Members in the dashboard.
Inviting an address that is already a member, or that already has a pending invite, returns an error. You can't invite someone with a role above your own.
If the organization has reached its subscription member limit, the CLI surfaces a human-readable error instead of a raw API response.
Options
| Option | Description |
|---|---|
-r, --role <role> | Role to give when they accept: admin, member, or viewer (required) |
-o, --org <slug> | Organization slug |
--output json | Print JSON output |
member role
envshed member role <email> [options]
Changes the role of an existing member. The caller must outrank the target member's current role.
Options
| Option | Description |
|---|---|
-r, --role <role> | New role: owner, admin, member, or viewer (required) |
-o, --org <slug> | Organization slug |
--output json | Print JSON output |
member remove
envshed member remove <email> [options]
Removes a member from the organization. Prompts for confirmation unless --yes is passed. Removing the last owner returns an error from the server.
Options
| Option | Description |
|---|---|
-o, --org <slug> | Organization slug |
-y, --yes | Skip confirmation prompt |
--output json | Print JSON output |