---
title: "POST /memberships/{membershipIdentifier}/previewprivacyimpact"
method: POST
path: "/memberships/{membershipIdentifier}/previewprivacyimpact"
---

# POST /memberships/{membershipIdentifier}/previewprivacyimpact

`POST /memberships/{membershipIdentifier}/previewprivacyimpact`

An estimate of the number of aggregation functions that the member who can query can run given epsilon and noise parameters.

## Path parameters

- `membershipIdentifier` string, required

## Request body

- object
  - `parameters` object, required — Specifies the updated epsilon and noise parameters to preview. The preview allows you to see how the maximum number of each type of aggregation function would change with the new parameters.
    - `differentialPrivacy` object — An array that specifies the epsilon and noise parameters.
      - `epsilon` integer, required — The epsilon value that you want to preview.
      - `usersNoisePerQuery` integer, required — Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.

## Response `200`

Success

- PreviewPrivacyImpactOutput
  - `privacyImpact` object, required — An estimate of the number of aggregation functions that the member who can query can run given the epsilon and noise parameters. This does not change the privacy budget.
    - `differentialPrivacy` object — An object that lists the number and type of aggregation functions you can perform.
      - `aggregations` DifferentialPrivacyPreviewAggregation[], required — The number of aggregation functions that you can perform.
        - `type` 'AVG' | 'COUNT' | 'COUNT_DISTINCT' | 'SUM' | 'STDDEV', required — The type of aggregation function.
        - `maxCount` integer, required — The maximum number of aggregations that the member who can query can run given the epsilon and noise parameters.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

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