---
title: "Update the authenticated user's privacy settings"
method: PATCH
path: "/v1/me/privacy"
tags: ["Account"]
---

# Update the authenticated user's privacy settings

`PATCH /v1/me/privacy`

## Request

- Base URL: `https://api.spacefast.com`
- URL: `https://api.spacefast.com/v1/me/privacy`
- Auth: HTTP bearer

Applies the given privacy choices and returns the full result. Omitted fields are left alone. Read the current settings from `GET /v1/me`. Changes are recorded in the account activity log.

## Request body

- object: Fields to change; omitted fields are left alone.
  - `analyticsOptOut` boolean: Opt out of product analytics. When true, no analytics events are recorded for this account, in the browser or server-side.
  - `advertisingOptOut` boolean: Do-not-sell/share election (CCPA). When true, the account is excluded from any advertising or audience use.

## Response `200`

Response for status 200

- object
  - `$schema` string, uri: Canonical JSON Schema URL for this response body. The server also sends it in the `Link: rel="describedby"` response header.
  - `data` object, required
    - `analyticsOptOut` boolean, required: Opt out of product analytics. When true, no analytics events are recorded for this account, in the browser or server-side.
    - `advertisingOptOut` boolean, required: Do-not-sell/share election (CCPA). When true, the account is excluded from any advertising or audience use.

## Other responses

- `default`: Problem details (RFC 9457). Any 4xx/5xx response is one `application/problem+json` document.

---

[API](https://skmtc.dev/spacefast/apis/spacefast-api.md) · [All operations](https://skmtc.dev/spacefast/apis/spacefast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spacefast/apis/spacefast-api/revisions/bd165bc7c983?raw)
