Update Application CLI

Description: Updates the definition of the specified application with new data.

📘

Note

The application_key and project_key cannot be modified.

Command:

jf apptrust app-update <app-key> [command options]

Alias command: jf at au

Command Parameters

Option

Required/Optional

Type

Description

<application-key>

required

string

The application key. Must be 2-64 lowercase alphanumeric characters, beginning with a letter (hyphens are supported). The key must be unique and immutable.

--application-name "<application-name>"

optional

string

The application display name. Must be a unique string within the scope of the project, 1-255 alphanumeric characters in length, including underscores, hyphens, and spaces.

If this option is not provided, the app-key is used as the display name.

--desc "<description>"

optional

string

Free-text description of the application.

--business-criticality "<level>"

optional

string

A classification of how critical the application is for your business:

  • unspecified (default)
  • low
  • medium
  • high
  • critical

--maturity-level "<level>"

optional

string

The maturity level of the application:

  • unspecified
  • experimental
  • production
  • end_of_life

--labels "<key1>=<value1>; <key2>=<value2>"

optional

array:string

Key-value pairs for labeling the application. Each key and value is free text, limited to 255 characters, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics in between.

If provided, each label must have a key (mandatory), with the value being optional.

Sample labels: "tier" ; "frontend", "release" ; "canary", "AppGroup" ; "wordpress"

--user-owners "<user-owner1>; <user-owner2>"

optional

array:string

List of users defined in the project who own the application.

--group-owners "<group-owner1>; <group-owner2>"

optional

array:string

List of user groups defined in the project who own the application.

Sample command:

jf apptrust app-update myapp-001 --labels "tier=frontend; release=production"