---
title: "Privacy settings"
method: PUT
path: "/api/v2/account/privacy"
tags: ["Account"]
---

# Privacy settings

`PUT /api/v2/account/privacy`

## Request

- Base URL: `https://www.endlesstravelplans.com`
- URL: `https://www.endlesstravelplans.com/api/v2/account/privacy`
- Auth: HTTP bearer

Sets the named privacy settings and leaves the others as they were. The body is a map of setting name to
true or false: `profile_visibility`, `trip_sharing`, `activity_tracking`, `marketing_communications`,
`data_analytics`. At least one; a name not in that list is a 422. Closed to guests.

## Request body

- object
  - `profile_visibility` boolean
  - `trip_sharing` boolean
  - `activity_tracking` boolean
  - `marketing_communications` boolean
  - `data_analytics` boolean

## Response `200`

the account block, as GET /account

- object
  - `privacy` object
    - `profile_visibility` boolean
    - `trip_sharing` boolean
    - `activity_tracking` boolean
    - `marketing_communications` boolean
    - `data_analytics` boolean

## Other responses

- `401`: unauthenticated: No valid bearer token was sent.
- `422`
- `429`: rate_limited: A throttle or a per-account allowance refused the request; `retry_after` or `remaining` may be present.
- `500`: server_error: Unhandled failure; quote `request_id` to support.

---

[API](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api.md) · [All operations](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/llms.txt) · [OpenAPI document](https://skmtc.dev/endlesstravelplans/apis/endless-travel-plans-api/revisions/ae82ed3e4a8f?raw)
