# diagrid region update

Update a region

### Description

Update an existing private region

```
diagrid region update <region-id> [flags]
```

### Examples

```

  # Update private region
  diagrid region update my-region --ingress updated-domain.company.com

  # Update private region location
  diagrid region update my-region --location new-location

  # Update private region with Diagrid managed domain
  diagrid region update my-region --ingress updated-domain.company.com --enable-managed-domain

  # Switch a region to fully Diagrid-managed ingress (clears any user-supplied ingress)
  diagrid region update my-region --enable-managed-domain --enable-public-management-api

  # Resize a dedicated region
  diagrid region update my-region --tier medium

```

### Options

```
      --host string                    A unique host identifier. Only used in multi-host regions for scaling out across Kubernetes clusters.
      --location string                An informative string describing the region's physical location (e.g. "us-west").
      --ingress string                 A fully qualified wildcard domain that will resolve to the region's gateway (example: https://*.mydomain.com:443).
      --enable-public-management-api   Enable an authenticated public endpoint for accessing the region's management API. You can use this if you do not have direct network access to your region from your local machine.
      --enable-managed-domain          Enable automatic DNS and TLS management for the region. If enabled, your ingress only needs to locally resolve to the region's gateway IP address and Diagrid will provide a public DNS name and certificate.
      --tier string                    Sizing tier for a dedicated region (small, medium, large or xlarge).
      --networking string              Networking posture for a dedicated region (private or public).
      --support-plan string            Support plan purchased with the region (select or premium; standard is available only on Diagrid-managed dedicated regions). The region's price is set by its size and support plan together, so this is part of what you pay for the region, not a separate add-on. Omit to leave the region's current support plan unchanged.
  -h, --help                           help for update
```

### Options inherited from parent commands

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

### SEE ALSO

- [diagrid region](./region.md)	 - Manage regions
