Account

Privacy settings

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.

put/api/v2/account/privacy

Request

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

Request body

profile_visibilityboolean
trip_sharingboolean
activity_trackingboolean
marketing_communicationsboolean
data_analyticsboolean

Example request

{
  "profile_visibility": true,
  "trip_sharing": true,
  "activity_tracking": true
}

Response

the account block, as GET /account

Example response

{
  "privacy": {
    "profile_visibility": false,
    "trip_sharing": true,
    "activity_tracking": false,
    "marketing_communications": false,
    "data_analytics": false
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.