# Method: policies.patch

Update a policy.

### HTTP request

`PATCH https://cloudidentity.googleapis.com/v1beta1/{policy.name=policies/*}`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `policy.name` | `string` Output only. Identifier. The [resource name](https://cloud.google.com/apis/design/resource_names) of the Policy. Format: policies/{policy}. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/identity/docs/reference/rest/v1beta1/policies#Policy`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/identity/docs/reference/rest/Shared.Types/Operation`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-identity.policies`

For more information, see the [Authorization guide](https://developers.google.com/workspace/guides/configure-oauth-consent).