---
title: "ezgh kubernetes access-entries update"
description: "Change an access entry."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh kubernetes access-entries update

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh kubernetes access-entries update <entry> --cluster c [--kubernetes-group g]... [--policy p]... [--no-kubernetes-groups] [--no-policies] [flags]
```

Change an access entry's Kubernetes groups or access policies. `--kubernetes-group` and `--policy` replace all of them; `--no-kubernetes-groups` and `--no-policies` remove them. The next kubectl request sees the change.

Part of [`ezgh kubernetes access-entries`](/cli/reference/kubernetes-access-entries).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--cluster` | string |  | the cluster |
| `--kubernetes-group` | string, repeatable |  | a Kubernetes group; repeat for more; replaces them all |
| `--no-kubernetes-groups` | boolean |  | remove the Kubernetes groups |
| `--no-policies` | boolean |  | remove the access policies |
| `--policy` | string, repeatable |  | an access policy, name or name:ns1,ns2; repeat for more; replaces them all |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/kubernetes-access-entries-update/index.mdx
