Skip to main content

ankra org

Commands to list, switch, create, and manage organisations.

ankra org create

Create a new organisation
ankra org create <name> [flags]
Flags
FlagDefaultDescription
--countryCountry code for the organisation
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org current

Show the currently selected organisation
ankra org current [flags]
Flags
FlagDefaultDescription
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org invite

Invite a user by email to the current organisation. Valid roles: member (default), admin, read-only Examples: ankra org invite [email protected] ankra org invite [email protected] —role admin
ankra org invite <email> [flags]
Flags
FlagDefaultDescription
--rolememberRole for the invited user (member, admin, read-only)

ankra org list

List all organisations you belong to
ankra org list [flags]
Flags
FlagDefaultDescription
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org members

List members of an organisation
ankra org members [org_id] [flags]
Flags
FlagDefaultDescription
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org remove

Remove a user from the current organisation
ankra org remove <user_id> [flags]
Flags
FlagDefaultDescription
-f, --forcefalseSkip confirmation prompt

ankra org switch

Switch to a different organisation by slug, name, or ID
ankra org switch <organisation>

ankra org variables

Manage organisation-scoped variables that are available to every cluster in the organisation as template substitutions in stack manifests and addon values. ankra org variables list ankra org variables get DB_HOST ankra org variables set DB_HOST db.prod.example.com —description “Primary database” ankra org variables delete DB_HOST Variable resolution order at deploy time is stack > cluster > organisation; a more specific scope overrides a less specific one.

ankra org variables delete

Delete an organisation variable
ankra org variables delete <name> [flags]
Flags
FlagDefaultDescription
--yesfalseSkip the confirmation prompt

ankra org variables get

Get a single organisation variable
ankra org variables get <name> [flags]
Flags
FlagDefaultDescription
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org variables list

List all organisation variables
ankra org variables list [flags]
Flags
FlagDefaultDescription
-o, --outputOutput format: json or yaml (default: human-readable)

ankra org variables set

Create or update an organisation variable (upsert). If the variable does not exist it is created; otherwise its value (and description, when supplied) is updated. The value can also be read from stdin by passing ”-”: echo “secret-token” | ankra org variables set API_TOKEN -
ankra org variables set <name> <value> [flags]
Flags
FlagDefaultDescription
--descriptionOptional human-readable description