---
title: "POST /v1/{+consentStore}:evaluateUserConsents"
method: POST
path: "/v1/{+consentStore}:evaluateUserConsents"
tags: ["projects"]
---

# POST /v1/{+consentStore}:evaluateUserConsents

`POST /v1/{+consentStore}:evaluateUserConsents`

Evaluates the user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, which can cause a slight delay between the time mappings are created or updated and when they are included in EvaluateUserConsents results.

## Path parameters

- `consentStore` string, required

## Request body

- EvaluateUserConsentsRequest — Evaluate a user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, causing slight delays between the time mappings are created or updated and when they are included in EvaluateUserConsents results.
  - `requestAttributes` object — Required. The values of request attributes associated with this access request.
  - `consentList` ConsentList — List of resource names of Consent resources.
    - `consents` string[] — The resource names of the Consents to evaluate against, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}`.
  - `resourceAttributes` object — Optional. The values of resource attributes associated with the resources being requested. If no values are specified, then all resources are queried.
  - `responseView` 'RESPONSE_VIEW_UNSPECIFIED' | 'BASIC' | 'FULL' — Optional. The view for EvaluateUserConsentsResponse. If unspecified, defaults to `BASIC` and returns `consented` as `TRUE` or `FALSE`.
  - `userId` string — Required. User ID to evaluate consents for.
  - `pageSize` integer — Optional. Limit on the number of User data mappings to return in a single response. If not specified, 100 is used. May not be larger than 1000.
  - `pageToken` string — Optional. Token to retrieve the next page of results, or empty to get the first page.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/healthcare.md) · [All operations](https://skmtc.net/google/apis/healthcare/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/healthcare/versions/cdec6fe2315f/schema)
