Organization Commands

The OLP CLI supports the following functionality for organization management:

org group list

Lists all groups of the organization.


olp org group list [command options]

Optional parameters:

  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.
  • --csv Display the command result with additional fields in CSV format.
  • --quiet Display the group HRNs, each on a new line.
  • --admin Add information about group administrators to the output. Valid only if --csv is also specified. If the value returned in the "Administrators" field is "Access denied", your app credentials are restricted from accessing group administrators information.

For more information on using credentials and profiles, see Credentials Setup.

Example:

The command below lists groups of the organization in CSV format.


olp org group list --csv --admin

Output:


Group ID,Name,Description,Administrators
my-group-id,my-group-name,My group description,USER|user-id|John Doe|john.doe@example.com;APP|app-id|Manager App Name
another-group-id,Another Group Name,"Comma, separated, words, as, a, description",APP|admin-app-id|"App|Name;With,Special;|,Characters"

org app list

Lists all apps of the organization.


olp org app list [command options]

Optional parameters:

  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.
  • --csv Display the command result with additional fields in CSV format.
  • --quiet Display the app HRNs, each on a new line.
  • --manager Add information about application managers to the output. Valid only if --csv is also specified. If the value returned in the "Managers" field is "Access denied", your app credentials are restricted from accessing app managers information.

For more information on using credentials and profiles, see Credentials Setup.

Example:

The command below lists apps of the organization in CSV format.


olp org app list --csv --manager

Output:


App ID,Name,Description,Status,Managers
my-app-id,my-app-name,My app description,active,USER|user-id|John Doe|john.doe@example.com;APP|app-id|Manager App Name;GROUP|group-id|Manager Group Name
another-app-id,Another app Name,"Comma, separated, words, as, a, description",active,"APP|manager-app-id|""App|Name;With,Special;|,Characters"";USER|another-user-id|Jane Smith|jane.smith@example.com"

org user list

Lists all users of the organization.


olp org user list [command options]

Optional parameters:

  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.
  • --csv Display the command result with additional fields in CSV format.
  • --quiet Display the user HRNs, each on a new line.

For more information on using credentials and profiles, see Credentials Setup.

Example:

The command below lists users of the organization in CSV format.


olp org user list --csv

Output:


User ID,Name,Email,Org Roles,Account State
user-id,John Doe,john.doe@example.com,"OrgAdmin, GroupAdmin",enabled

org invitation list

Lists all pending invitations of the organization.


olp org invitation list [command options]

Optional parameters:

  • --credentials <path to credentials file> The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.
  • --profile <profile name> The name of the credentials profile to use from the olpcli.ini file.
  • --csv Display the command result with additional fields in CSV format.
  • --quiet Display the pending invitation HRNs, each on a new line.

For more information on using credentials and profiles, see Credentials Setup.

Example:

The command below lists pending invitations of the organization in CSV format.


olp org invitation list --csv

Output:

 Name,Email,Date Sent John Doe,john.doe@example.com,2021-04-26T08:20:49.345 

results matching ""

    No results matching ""