Skip to main content

mw org

Manage your organizations, and also any kinds of user memberships concerning these organizations.

mw org delete [ORG-ID]

Delete an organization

USAGE
$ mw org delete [ORG-ID] [-q] [-f]

ARGUMENTS
ORG-ID ID or short ID of an org; this argument is optional if a default org is set in the context.

FLAGS
-f, --force Do not ask for confirmation
-q, --quiet suppress process output and only display a machine-readable summary.

DESCRIPTION
Delete an organization

FLAG DESCRIPTIONS
-q, --quiet suppress process output and only display a machine-readable summary.

This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
scripts), you can use this flag to easily get the IDs of created resources for further processing.

mw org get [ORG-ID]

Get an organization profile.

USAGE
$ mw org get [ORG-ID] -o txt|json|yaml

ARGUMENTS
ORG-ID ID or short ID of an org; this argument is optional if a default org is set in the context.

FLAGS
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml>

DESCRIPTION
Get an organization profile.

mw org invite

Invite a user to an organization.

USAGE
$ mw org invite --email <value> [-o <value>] [-q] [--role owner|member|accountant] [--message <value>]
[--expires <value>]

FLAGS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context
-q, --quiet suppress process output and only display a machine-readable summary.
--email=<value> (required) The email address of the user to invite.
--expires=<value> an interval after which the invitation expires (examples: 30m, 30d, 1y).
--message=<value> A message to include in the invitation email.
--role=<option> [default: member] The role of the user to invite.
<options: owner|member|accountant>

DESCRIPTION
Invite a user to an organization.

FLAG DESCRIPTIONS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context

May contain a short ID or a full ID of an org; you can also use the "mw context set --org-id=<VALUE>" command to
persistently set a default org for all commands that accept this flag.

-q, --quiet suppress process output and only display a machine-readable summary.

This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
scripts), you can use this flag to easily get the IDs of created resources for further processing.

mw org invite list

List all invites for an organization.

USAGE
$ mw org invite list -o txt|json|yaml|csv|tsv [-x] [--no-header] [--no-truncate] [--no-relative-dates]
[--csv-separator ,|;] [-o <value>]

FLAGS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml|csv|tsv>
-x, --extended show extended information
--csv-separator=<option> [default: ,] separator for CSV output (only relevant for CSV output)
<options: ,|;>
--no-header hide table header
--no-relative-dates show dates in absolute format, not relative (only relevant for txt output)
--no-truncate do not truncate output (only relevant for txt output)

DESCRIPTION
List all invites for an organization.

FLAG DESCRIPTIONS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context

May contain a short ID or a full ID of an org; you can also use the "mw context set --org-id=<VALUE>" command to
persistently set a default org for all commands that accept this flag.

mw org invite list-own

List all organization invites for the executing user.

USAGE
$ mw org invite list-own -o txt|json|yaml|csv|tsv [-x] [--no-header] [--no-truncate] [--no-relative-dates]
[--csv-separator ,|;]

FLAGS
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml|csv|tsv>
-x, --extended show extended information
--csv-separator=<option> [default: ,] separator for CSV output (only relevant for CSV output)
<options: ,|;>
--no-header hide table header
--no-relative-dates show dates in absolute format, not relative (only relevant for txt output)
--no-truncate do not truncate output (only relevant for txt output)

DESCRIPTION
List all organization invites for the executing user.

mw org invite revoke INVITE-ID

Revoke an invite to an organization

USAGE
$ mw org invite revoke INVITE-ID [-q]

ARGUMENTS
INVITE-ID The ID of the invite to revoke

FLAGS
-q, --quiet suppress process output and only display a machine-readable summary.

DESCRIPTION
Revoke an invite to an organization

FLAG DESCRIPTIONS
-q, --quiet suppress process output and only display a machine-readable summary.

This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
scripts), you can use this flag to easily get the IDs of created resources for further processing.

mw org list

Get all organizations the authenticated user has access to.

USAGE
$ mw org list -o txt|json|yaml|csv|tsv [-x] [--no-header] [--no-truncate] [--no-relative-dates]
[--csv-separator ,|;]

FLAGS
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml|csv|tsv>
-x, --extended show extended information
--csv-separator=<option> [default: ,] separator for CSV output (only relevant for CSV output)
<options: ,|;>
--no-header hide table header
--no-relative-dates show dates in absolute format, not relative (only relevant for txt output)
--no-truncate do not truncate output (only relevant for txt output)

DESCRIPTION
Get all organizations the authenticated user has access to.

mw org membership list

List all memberships belonging to an organization.

USAGE
$ mw org membership list -o txt|json|yaml|csv|tsv [-x] [--no-header] [--no-truncate] [--no-relative-dates]
[--csv-separator ,|;] [-o <value>]

FLAGS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml|csv|tsv>
-x, --extended show extended information
--csv-separator=<option> [default: ,] separator for CSV output (only relevant for CSV output)
<options: ,|;>
--no-header hide table header
--no-relative-dates show dates in absolute format, not relative (only relevant for txt output)
--no-truncate do not truncate output (only relevant for txt output)

DESCRIPTION
List all memberships belonging to an organization.

FLAG DESCRIPTIONS
-o, --org-id=<value> ID or short ID of an org; this flag is optional if a default org is set in the context

May contain a short ID or a full ID of an org; you can also use the "mw context set --org-id=<VALUE>" command to
persistently set a default org for all commands that accept this flag.

mw org membership list-own

List all organization memberships for the executing user.

USAGE
$ mw org membership list-own -o txt|json|yaml|csv|tsv [-x] [--no-header] [--no-truncate] [--no-relative-dates]
[--csv-separator ,|;]

FLAGS
-o, --output=<option> (required) [default: txt] output in a more machine friendly format
<options: txt|json|yaml|csv|tsv>
-x, --extended show extended information
--csv-separator=<option> [default: ,] separator for CSV output (only relevant for CSV output)
<options: ,|;>
--no-header hide table header
--no-relative-dates show dates in absolute format, not relative (only relevant for txt output)
--no-truncate do not truncate output (only relevant for txt output)

DESCRIPTION
List all organization memberships for the executing user.

mw org membership revoke MEMBERSHIP-ID

Revoke a user's membership to an organization

USAGE
$ mw org membership revoke MEMBERSHIP-ID [-q]

ARGUMENTS
MEMBERSHIP-ID The ID of the membership to revoke

FLAGS
-q, --quiet suppress process output and only display a machine-readable summary.

DESCRIPTION
Revoke a user's membership to an organization

FLAG DESCRIPTIONS
-q, --quiet suppress process output and only display a machine-readable summary.

This flag controls if you want to see the process output or only a summary. When using mw non-interactively (e.g. in
scripts), you can use this flag to easily get the IDs of created resources for further processing.