# diagrid app update

Update an App

### Description

Update an App in a project.

```
diagrid app update <app> [flags]
```

### Examples

```

  # Set or update the App endpoint
  diagrid app update my-app --project my-project --endpoint https://myapp.myorg.com/ --endpoint-token xxxxxxxx

  # Remove the App endpoint (make it identity-only)
  diagrid app update my-app --project my-project --endpoint ""

  # Stop archiving failed workflows, leaving the other archive settings untouched
  diagrid app update my-app --archive-failed=false

  # Disable workflow-history archiving
  diagrid app update my-app --archive-binding-name ""

  # Notify on failed and stalled root workflows whose name starts with "billing-"
  diagrid app update my-app --workflow-notifications-name "billing-.*" --workflow-notifications-failed --workflow-notifications-stalled --workflow-notifications-root-only

  # Stop notifying on stalled workflows, leaving the other notification settings untouched
  diagrid app update my-app --workflow-notifications-stalled=false

  # Disable workflow notifications
  diagrid app update my-app --workflow-notifications-failed=false --workflow-notifications-terminated=false --workflow-notifications-stalled=false

```

### Options

```
  -p, --project string                       Name of existing project
  -e, --endpoint string                      Endpoint used to establish outbound connectivity from the App to your external application. Pass an empty value to remove it
  -t, --endpoint-token string                Token used to secure calls from the App to your provided endpoint
      --endpoint-protocol string             Protocol used to interact with the endpoint: http (default) or grpc
      --max-body-size string                 Maximum request body size (e.g. "4Mi", "16Mi")
      --app-channel-timeout-seconds int32    Timeout in seconds for the sidecar to connect to the application endpoint
      --enable-app-health-check              Enable application-level health probing. Pass =false to disable
      --app-health-check-path string         Health check endpoint path (e.g. /healthz)
      --app-health-probe-interval int32      Health probe interval in seconds
      --app-health-probe-timeout int32       Health probe timeout in milliseconds
      --app-health-threshold int32           Failure threshold before marking unhealthy
      --regenerate-api-token                 Regenerate the API token for this App's backing App ID
  -w, --wait                                 Wait for long-running resource update to finish
      --archive-binding-name string          Output-binding component name to write archived workflow history through. Setting this enables archiving. Pass an empty value to disable archiving
      --archive-binding-type string          Binding component type for the archive destination (e.g., "bindings.aws.s3")
      --archive-completed                    Archive workflows that reach the Completed terminal state. Pass =false to stop archiving them
      --archive-failed                       Archive workflows that reach the Failed terminal state. Pass =false to stop archiving them
      --archive-terminated                   Archive workflows that reach the Terminated terminal state. Pass =false to stop archiving them
      --workflow-notifications-name string   Regular expression the workflow name must match in full for a notification to be raised. Pass an empty value to notify for every workflow
      --workflow-notifications-failed        Raise a notification for workflows that reach the Failed terminal state. Pass =false to stop notifying
      --workflow-notifications-terminated    Raise a notification for workflows that reach the Terminated terminal state. Pass =false to stop notifying
      --workflow-notifications-stalled       Raise a notification for workflows that reach the Stalled state. Pass =false to stop notifying
      --workflow-notifications-root-only     Only raise notifications for workflows with no parent. Pass =false to notify for child workflows too
  -h, --help                                 help for update
```

### Options inherited from parent commands

```
      --api-key string   Diagrid Cloud API key
```

### SEE ALSO

- [diagrid app](./app.md)	 - Manage Apps
