Skip to main content

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

OptionDescription
-o, --org <slug>Organization slug
--output jsonPrint JSON output

member invite

envshed member invite <email> [options]

Sends an invitation to the given email address. The invitee receives an email to join the organization.

If the organization has reached its subscription member limit, the CLI surfaces a human-readable error instead of a raw API response.

Options

OptionDescription
-r, --role <role>Role to assign: owner, admin, member, or viewer (required)
-o, --org <slug>Organization slug
--output jsonPrint 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

OptionDescription
-r, --role <role>New role: owner, admin, member, or viewer (required)
-o, --org <slug>Organization slug
--output jsonPrint 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

OptionDescription
-o, --org <slug>Organization slug
-y, --yesSkip confirmation prompt
--output jsonPrint JSON output