fredcli organization info

Provides information about the current user’s organization.

Synopsis

fredcli organization info

Display information about the current user’s organization

fredcli organization info [options]

Options

--output <output>

Set the output format.

Default

text

Options

text | json | yaml

Description

This command provides information about the currently logged in user’s organization. The information includes, id, name, and timestamps for the organization. The --output option specifies the format for this command: one of text, json, or yaml.

Errors

If the user does not have a valid fredcli config with a valid token, a User not authorized error will be displayed.

Examples

The following example shows the organization information.

$ fredcli organization info
Name:  Org Inc.
ID:  999
Created:  04/12/2021, 02:41:08 PM
Modified:  12/01/2022, 08:50:35 PM

As another example, the same status is shown with yaml output.

$ fredcli user info --output yaml
created: '2021-12-04T14:41:08.898Z'
id: 999
modified: '2021-01-12T20:50:35.838Z'
name: Org Inc.
referenceId: '999'