Skip to main content
Version: 3.4

Account Groups Commands

The account-groups command group manages Account Groups, collections of Accounts that share Pipeline access and permissions.

For command line syntax, see the UDMG Client CLI overview.

Commands Overview​

CommandDescriptionRequired Role
account-groups listReturns all Account Groups.Any
account-groups get <name>Retrieves the full definition of an Account Group identified by name.Any
account-groups createCreates an Account Group.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups update <name>Updates one or more properties of an existing Account Group. Only the flags explicitly provided are sent; omitted flags leave the corresponding fields unchanged.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups delete <name>Permanently deletes an Account Group.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups list-accounts <name>Returns all Accounts that belong to an Account Group.Any
account-groups allow-account <group> <account>Grants an Account access to an Account Group.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups revoke-account <group> <account>Revokes an Account's access from an Account Group.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups list-pipelines <name>Returns all Pipelines that belong to an Account Group.Any
account-groups allow-pipeline <group> <pipeline>Grants an Account Group access to a Pipeline.
  • System Administrator
  • Domain Administrator
  • Pipeline Management
account-groups revoke-pipeline <group> <pipeline>Revokes an Account Group's access to a Pipeline.
  • System Administrator
  • Domain Administrator
  • Pipeline Management

Authentication​

Every udmg-client command authenticates to the UDMG Server using a UDMG username and password. Supply them with the --auth-username and --auth-password flags, or set the UDMG_CLI_AUTH_USERNAME and UDMG_CLI_AUTH_PASSWORD environment variables. For details and examples, see Authentication.

Commands Reference​

list​

Description

Returns all Account Groups.

Required role

  • Any

Command line syntax

udmg-client [global options] account-groups list [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--pagePage number.No(none)
--page-sizeNumber of items per page.No(none)
--orderSort direction. Accepted values: asc, desc.No(none)
--order-byField to sort results by. Accepted values: name, createdAt, updatedAt.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups list --page 1 --page-size 10 --order asc --order-by name

get​

Description

Retrieves the full definition of an Account Group identified by name.

Required role

  • Any

Command line syntax

udmg-client [global options] account-groups get <name>

Arguments

ArgumentDescription
<name>Account Group name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups get partners

create​

Description

Creates an Account Group.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups create [command-specific options]

Command-specific options

OptionDescriptionRequiredDefault
--nameAccount Group name.YesN/A
--descriptionThe description of the Account Group.No(none)
--business-serviceBusiness Service name to assign to the Account Group.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups create --name partners --description "External partner accounts" --business-service my-service

update​

Description

Updates one or more properties of an existing Account Group. Only the flags explicitly provided are sent; omitted flags leave the corresponding fields unchanged.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups update <name> [command-specific options]

Arguments

ArgumentDescription
<name>Account Group name.

Command-specific options

OptionDescriptionRequiredDefault
--nameNew name for the Account Group.No(none)
--descriptionThe new description of the Account Group.No(none)
--business-serviceBusiness Service name.No(none)

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups update partners --name partners-updated --description "External partner accounts" --business-service my-service

delete​

Description

Permanently deletes an Account Group.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups delete <name>

Arguments

ArgumentDescription
<name>Account Group name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups delete partners

list-accounts​

Description

Returns all Accounts that belong to an Account Group.

Required role

  • Any

Command line syntax

udmg-client [global options] account-groups list-accounts <name>

Arguments

ArgumentDescription
<name>Account Group name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups list-accounts partners

allow-account​

Description

Grants an Account access to an Account Group.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups allow-account <group> <account>

Arguments

ArgumentDescription
<group>Account Group name.
<account>Account name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups allow-account partners acme-corp

revoke-account​

Description

Revokes an Account's access from an Account Group.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups revoke-account <group> <account>

Arguments

ArgumentDescription
<group>Account Group name.
<account>Account name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups revoke-account partners acme-corp

list-pipelines​

Description

Returns all Pipelines that belong to an Account Group.

Required role

  • Any

Command line syntax

udmg-client [global options] account-groups list-pipelines <name>

Arguments

ArgumentDescription
<name>Account Group name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups list-pipelines partners

allow-pipeline​

Description

Grants an Account Group access to a Pipeline.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups allow-pipeline <group> <pipeline>

Arguments

ArgumentDescription
<group>Account Group name.
<pipeline>Pipeline name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups allow-pipeline partners daily-upload

revoke-pipeline​

Description

Revokes an Account Group's access to a Pipeline.

Required role

  • System Administrator
  • Domain Administrator
  • Pipeline Management

Command line syntax

udmg-client [global options] account-groups revoke-pipeline <group> <pipeline>

Arguments

ArgumentDescription
<group>Account Group name.
<pipeline>Pipeline name.

Global options

See Global Options for connection, authentication, and output options. These can appear anywhere in the command line. Connection and authentication options can be supplied as environment variables.

Example

udmg-client account-groups revoke-pipeline partners daily-upload