# diagrid project update

Update a project's settings

### Description

Update a project's settings, such as enabling managed workflow storage, toggling app tunnels, or adjusting the global id max body size.

```
diagrid project update <project-name> [flags]
```

### Examples

```

  # Update a project to enable the workflows managed store
  diagrid project update my-project --enable-managed-workflow
  
  # Update a project to disable the workflows managed store
  diagrid project update my-project --enable-managed-workflow=false

  # Enable agent infrastructure (for BYOC/private region or cloud projects without the managed KV store; managed automatically for cloud projects with the managed KV store)
  diagrid project update my-project --enable-agent-infrastructure

  # Enable agent infrastructure backed by an existing KVStore or state connection (BYOC/private region projects only)
  diagrid project update my-project --enable-agent-infrastructure --agent-registry-store my-store

  # Update a project to disable agent infrastructure
  diagrid project update my-project --enable-agent-infrastructure=false

  # Disable agent infrastructure without confirmation prompt
  diagrid project update my-project --enable-agent-infrastructure=false --approve

  # Update the max body size for all ids in a project
  diagrid project update my-project --global-id-max-body-size 16Mi

```

### Options

```
      --enable-managed-workflow          Enable a managed workflows store which is required to enable the Workflows API
      --enable-agent-infrastructure      Enable or disable managed services and components required for Dapr Agents. Cloud projects with the managed KV store get this automatically; enable explicitly for BYOC (private region) projects or cloud projects without the managed KV store
      --agent-registry-store string      Name of an existing KVStore or state connection to back the managed agent-registry component; only settable when enabling agent infrastructure on a BYOC (private region) project
  -w, --wait                             Wait for long-running resource creation to finish
      --disable-app-tunnels              Disable app tunnels for this project
      --global-id-max-body-size string   Maximum body size for HTTP and gRPC requests across all ids in this project (e.g., "4Mi", "8Mi", "16Mi"). Can be overridden at the individual id level
      --approve                          Skip confirmation prompt
  -h, --help                             help for update
```

### Options inherited from parent commands

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

### SEE ALSO

- [diagrid project](./project.md)	 - Manage projects
