# diagrid kv update

Update a Diagrid key-value store

### Description

Update the scopes of a Diagrid key-value store.

```
diagrid kv update <kv-store> [flags]
```

### Examples

```

  # Restrict a key-value store to a specific set of ids
  diagrid kv update my-kv-store --project my-project --scopes app-a,app-b

  # Remove all scope restrictions (accessible to every id)
  diagrid kv update my-kv-store --project my-project --scopes ""

```

### Options

```
  -p, --project string   Name of existing project
      --scopes strings   Comma-separated list of ids that may access this key-value store. Pass an empty value to allow all ids.
  -w, --wait             Wait for long-running resource update to finish
  -h, --help             help for update
```

### Options inherited from parent commands

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

### SEE ALSO

- [diagrid kv](./kv.md)	 - Manage Diagrid key-value stores
