CLI: Organizations

Create an organization

valet orgs create <name>

Creates a new organization. You become the owner.

List organizations

valet orgs

Lists all organizations you belong to.

Organization info

valet orgs info <name>

Shows details about an organization including members, agents, integrations, and channels.

Destroy an organization

valet orgs destroy <name>

Permanently removes the organization and all its resources. Cannot be undone.

Members

valet orgs members <name>

Lists all members of the organization.

Invite a member

valet orgs invite <name> <email>

Sends an invitation to join the organization. The invitation expires in 7 days.

Join an organization

valet orgs join <code>

Accept a pending invitation using an invitation code and join the organization. The joined org is automatically set as the default org.

Leave an organization

valet orgs leave <name>

Remove yourself from the organization.

Remove a member

valet orgs remove <name> <email>

Remove another member from the organization by email. Requires owner permissions.

Revoke an invitation

valet orgs revoke <name> <email>

Cancel a pending invitation before it is accepted.

Set default organization

valet orgs set-default <name>

Sets the default organization used by all commands when --org is omitted. The command verifies you are a member of the named org before writing the change — if you are not a member, it exits with an error and leaves the current default unchanged.

$ valet orgs set-default slack-test
Default org set to slack-test.

$ valet orgs set-default typo-org
Error: not a member of typo-org