Application Connections

List Application Connections

Command

files-cli application-connections list

Output

Outputs a list of ApplicationConnection objects according to the output format.

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Additional Arguments

Example Request

files-cli application-connections list

Show Application Connection

Command

files-cli application-connections find

Output

Outputs a ApplicationConnection object according to the output format.

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Flags

FlagDescription
--id=
int64
Required
Application Connection ID.

Example Request

files-cli application-connections find \
  --id=1

Create Application Connection

Command

files-cli application-connections create

Output

Outputs a ApplicationConnection object according to the output format.

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Flags

FlagDefaultDescription
--name=
string
Required
Connection display name.
--secret-id=
int64
ID of the credential in the Secret Store, if the connection uses a credential.
--application-key=
string
Required
Application key from the Automation applications list.
--origin=
string
Required
HTTPS origin for this connection.
--workspace-id=
int64
0Workspace that owns this connection.

Example Request

files-cli application-connections create \
  --name="example" \
  --application-key="example" \
  --origin="example"

Update Application Connection

Command

files-cli application-connections update

Output

Outputs a ApplicationConnection object according to the output format.

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Flags

FlagDescription
--id=
int64
Required
Application Connection ID.
--name=
string
Connection display name.
--secret-id=
int64
ID of the credential in the Secret Store, if the connection uses a credential.

Example Request

files-cli application-connections update \
  --id=1 \
  --name="example"

Delete Application Connection

Command

files-cli application-connections delete

Output

No output is returned.

Authorization Requirement

Requires a Site-Wide API key, or a User API key or session from a Site Administrator or a Workspace Administrator for the relevant workspace.

Flags

FlagDescription
--id=
int64
Required
Application Connection ID.

Example Request

files-cli application-connections delete \
  --id=1

The ApplicationConnection Object

Some of the commands above return a ApplicationConnection object. The attributes of this object are listed below.

AttributeDescription
id
int64
Connection ID.
workspace_id
int64
Workspace that owns this connection.
name
string
Connection display name.
application_key
string
Application key from the Automation applications list.
origin
string
HTTPS origin for this connection.
secret_id
int64
ID of the credential in the Secret Store, if the connection uses a credential.
authentication
object
Current credential type and placement, without the secret value.
created_at
date-time
Time the connection was created.
updated_at
date-time
Time the connection was updated.