[egulu CLI reference](../index.md) / [egulu postgres-clusters](index.md)

# egulu postgres-clusters update-role

PATCH /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/roles/{role}

```sh
egulu postgres-clusters update-role <NAME> [options]
```

## API operation

[PostgresRoles_update](../../api/databases/PostgresRoles_update.md): `PATCH /v1/projects/{project}/locations/{location}/postgresClusters/{cluster}/roles/{role}` (databases module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the role |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--cluster` | value | yes | cluster |
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--update-mask` | value | no | updateMask |

The [global options](../index.md) apply too.
