# Method: organizations.updateAccessApprovalSettings

- [HTTP request](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.request_body)
- [Response body](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/organizations/updateAccessApprovalSettings#body.aspect)

Updates the settings associated with a project, folder, or organization. Settings to update are determined by the value of field_mask.

### HTTP request

`PATCH https://accessapproval.googleapis.com/v1/{settings.name=organizations/*/accessApprovalSettings}`

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

### Path parameters

| Parameters ||
|---|---|
| `settings.name` | `string` The resource name of the settings. Format is one of: - "projects/{project}/accessApprovalSettings" - "folders/{folder}/accessApprovalSettings" - "organizations/{organization}/accessApprovalSettings" |

### Query parameters

| Parameters ||
|---|---|
| `updateMask` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` format)`` The update mask applies to the [Access Approval settings](https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/AccessApprovalSettings?_gl=1*9u16oh*_ga*ODc4MTE5MTkuMTc2NjA5MjYzOA..*_ga_4LYFWVHBEB*czE3NjY1MTU2OTUkbzEkZzEkdDE3NjY1MTU4MTQkajYwJGwwJGgw). For each field, if the update mask is included, the currently stored value is overwritten with the value of the field passed in this request. For the `FieldMask` definition, see [Protocol Buffers Well-Known Types](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask) page in the Protocol Buffers documentation. If this field is left unset, only the notificationEmails field will be updated. <br /> This is a comma-separated list of fully qualified names of fields. Example: `"notificationEmails,preferredRequestExpirationDays"`. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/AccessApprovalSettings`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/assured-workloads/access-approval/docs/reference/rest/v1/AccessApprovalSettings`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).