---
title: "Update user"
method: PUT
path: "/v2/users/{userId}"
tags: ["Users"]
---

# Update user

`PUT /v2/users/{userId}`

## Request body

- UserUpdateRequest — Update Traveler details.
  - `personalInfo` UserPersonalInfo — User details.
    - `addresses` PostalAddress[]
      - `addressLines` string[], required — Address lines
      - `administrativeArea` string — Code of administrative area. For example: DL for Delhi, India. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
      - `administrativeAreaName` string — Name of administrative area. This is full name corresponding to administrativeArea. Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.
      - `description` string — Address description
      - `isDefault` boolean — Whether this address is default address in case multiple addresses are specified.
      - `languageCode` string — BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. Examples: "zh-Hant", "ja", "ja-Latn", "en".
      - `locality` string — Generally refers to the city/town portion of the address.
      - `locationCode` string — IATA 3-letter location code. See https://www.iata.org/en/services/codes.
      - `organization` string — The name of the organization at the address.
      - `postalCode` string — Postal code of the address. This is a required field when setting for a user/legal entity/company etc.
      - `continentCode` string — 2 letter continent code of the continent this address falls in.
      - `recipients` string[] — The recipient at the address.
      - `regionCode` string, required — Region code of the country/region of the address.
      - `regionName` string — Region name of the country/region of the address.
      - `revision` integer
      - `sortingCode` string — Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
      - `sublocality` string — Sublocality of the address. This can be neighborhoods, boroughs, districts.
      - `timezone` string — Time zone of the address.
      - `coordinates` Latlng — Latitude and Longitude for a Location
        - `latitude` number, double, required — Latitude of the Location
        - `longitude` number, double, required — Longitude of the Location
    - `dob` DateModel — Date in ISO 8601 standard.
      - `iso8601` string, required
    - `email` string, email
    - `emergencyContactInfo` EmergencyContactInfo — Emergency contact information.
      - `address` PostalAddress — Postal Address Details
        - `addressLines` string[], required — Address lines
        - `administrativeArea` string — Code of administrative area. For example: DL for Delhi, India. Highest administrative subdivision which is used for postal addresses of a country or region. For example, this can be a state, a province, an oblast, or a prefecture. Specifically, for Spain this is the province and not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many countries don't use an administrative area in postal addresses. E.g. in Switzerland this should be left unpopulated.
        - `administrativeAreaName` string — Name of administrative area. This is full name corresponding to administrativeArea. Like Delhi for DL area code. For some places, code and name maybe same as well like Tokyo.
        - `description` string — Address description
        - `isDefault` boolean — Whether this address is default address in case multiple addresses are specified.
        - `languageCode` string — BCP-47 language code of the contents of this address (if known). This is often the UI language of the input form or is expected to match one of the languages used in the address' country/region, or their transliterated equivalents. This can affect formatting in certain countries, but is not critical to the correctness of the data and will never affect any validation or other non-formatting related operations. Examples: "zh-Hant", "ja", "ja-Latn", "en".
        - `locality` string — Generally refers to the city/town portion of the address.
        - `locationCode` string — IATA 3-letter location code. See https://www.iata.org/en/services/codes.
        - `organization` string — The name of the organization at the address.
        - `postalCode` string — Postal code of the address. This is a required field when setting for a user/legal entity/company etc.
        - `continentCode` string — 2 letter continent code of the continent this address falls in.
        - `recipients` string[] — The recipient at the address.
        - `regionCode` string, required — Region code of the country/region of the address.
        - `regionName` string — Region name of the country/region of the address.
        - `revision` integer
        - `sortingCode` string — Additional, country-specific, sorting code. This is not used in most regions. Where it is used, the value is either a string like "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number alone, representing the "sector code" (Jamaica), "delivery area indicator" (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
        - `sublocality` string — Sublocality of the address. This can be neighborhoods, boroughs, districts.
        - `timezone` string — Time zone of the address.
        - `coordinates` Latlng — Latitude and Longitude for a Location
          - `latitude` number, double, required — Latitude of the Location
          - `longitude` number, double, required — Longitude of the Location
      - `designation` string
      - `email` string, email, required
      - `name` Name — Full name containing first, middle, last (family) names, and suffix.
        - `family1` string, required — Last (family) name.
        - `family2` string
        - `given` string, required — First (given) name.
        - `middle` string — Middle name.
        - `suffix` 'NAME_SUFFIX_UNKNOWN' | 'SR' | 'JR' | 'MD' | 'PHD' | 'II' | 'III' | 'IV' | 'DO' | 'ATTY' | 'V' | 'VI' | 'ESQ' | 'DC' | 'DDS' | 'VM' | 'JD' | 'SECOND' | 'THIRD' — Suffix for name
        - `preferred` string — Informal preferred name added by traveler. This is not used on any PNR or tickets
      - `phoneNumber` PhoneNumber — Properly formatted phone number.
        - `countryCode` integer — two digit country code
        - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
        - `extension` string — phone number extension
        - `isoCountryCode` string — ISO alpha-2 code
        - `italianLeadingZero` boolean
        - `nationalNumber` integer
        - `numberOfLeadingZeros` integer
        - `preferredDomesticCarrierCode` string
        - `rawInput` string
        - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
      - `userOrgId` UserOrgId — User and user's organization information.
        - `organizationAgencyId` OrganizationAgencyId — Agency id for the organization.
          - `id` string, required
        - `organizationId` OrganizationId, required — Organization id for traveler.
          - `id` string, required
        - `userId` UserId, required — User identifier
          - `id` string, uuid, required
        - `tmcInfo` TmcInfo — TMC config information.
          - `id` CompanyId, required — Company ID
            - `id` string, uuid, required
          - `primaryServiceProviderTmc` PrimaryServiceProviderTmc, required — Primary service provider TMC info
            - `tmcId` CompanyId, required — Company ID
              - …
          - `secondaryServiceProviderTmcs` SecondaryServiceProviderTmc[] — Secondary service provider TMCs for the TMC.
            - `tmcId` CompanyId, required — Company ID
              - …
            - `supplier` 'SABRE' | 'AMADEUS' | 'TRAVEL_FUSION' | 'FARELOGIX_NDC' | 'ATPCO_NDC' | 'TRAINLINE' | 'AVIA' | 'QBR' | 'BCD' | 'QANTAS_HOTELS' | 'SOUTHWEST' | 'EXPEDIA' | 'HOTEL_HUB' | 'NDC' | 'MARRIOTT' | 'CLEARTRIP' | 'KYTE' | 'GROUNDSPAN' | 'SABRE_NDC' | 'BOOKING_COM' | 'CARTRAWLER' | 'PREMIER_INN' | 'TRAVELODGE' | 'ENTERPRISE' | 'HYATT' | 'NATIONAL' | 'ALAMO' | 'HERTZ' | 'DOLLAR' | 'THRIFTY' | 'FIREFLY' | 'EUROSTAR' | 'AVIS' | 'BUDGET', required — Supplier type like Sabre, TravelFusion etc.
            - `travelType` 'AIR' | 'HOTEL' | 'CAR' | 'RAIL' | 'LIMO' | 'MISC' | 'ALL', required — Travel Type
          - `partnerTmcId` CompanyId — Company ID
            - `id` string, uuid, required
        - `tmcBasicInfo` TmcBasicInfo — TMC related basic information.
          - `contractingTmc` CompanyRef, required — Basic information about a company.
            - `id` CompanyId, required — Company ID
              - …
            - `name` string
            - `logo` Image — An image with meta data. Either the `data` or `url` property must be supplied to load the image.
              - …
          - `bookingTmc` CompanyRef, required — Basic information about a company.
            - `id` CompanyId, required — Company ID
              - …
            - `name` string
            - `logo` Image — An image with meta data. Either the `data` or `url` property must be supplied to load the image.
              - …
    - `gender` 'MALE' | 'FEMALE' | 'UNSPECIFIED' | 'UNDISCLOSED' | 'GENDER_REDACTED'
    - `identityDocs` IdentityDocument[] — List of user identity documents.
      - union — Identity document details. Currently supported documents are passport, immigration document, known traveler number, redress number and national document.
        - object
          - `passport` Passport — Passport details.
            - `docId` string, required
            - `expiryDate` DateModel, required — Date in ISO 8601 standard.
              - …
            - `issueCountry` string, required
            - `issuedDate` DateModel — Date in ISO 8601 standard.
              - …
            - `nationalityCountry` string, required
            - `type` 'UNKNOWN' | 'REGULAR'
        - object
          - `immigrationDoc` ImmigrationDocument — Immigration document details.
            - `authorizedStayDuration` Duration — Represents a duration of time with specific units of time.
              - …
            - `docId` string, required — The ID of the immigration document.
            - `expiryDate` DateModel, required — Date in ISO 8601 standard.
              - …
            - `issueCountry` string, required — The country that issued the immigration document.
            - `issuedDate` DateModel — Date in ISO 8601 standard.
              - …
            - `nationalityCountry` string
            - `reentryRequirementDuration` Duration — Represents a duration of time with specific units of time.
              - …
            - `type` 'UNKNOWN' | 'VISA'
        - object
          - `redress` RedressNumber — Redress details
            - `number` string, required
            - `issueCountry` string, required
        - object
          - `ktn` KnownTravelerNumber — Information about the Known Traveler Number (KTN).
            - `number` string, required
            - `issueCountry` string, required
        - object
          - `nationalDoc` NationalDoc — National Document Id details.
            - `docId` string, required — Unique id identifying the national document.
            - `issueCountry` string, required — IS0 2 letter country code of the country issuing this id.
            - `issuedDate` DateModel — Date in ISO 8601 standard.
              - …
            - `expiryDate` DateModel — Date in ISO 8601 standard.
              - …
            - `type` 'DNI' | 'NIE'
    - `name` Name — Full name containing first, middle, last (family) names, and suffix.
      - `family1` string, required — Last (family) name.
      - `family2` string
      - `given` string, required — First (given) name.
      - `middle` string — Middle name.
      - `suffix` 'NAME_SUFFIX_UNKNOWN' | 'SR' | 'JR' | 'MD' | 'PHD' | 'II' | 'III' | 'IV' | 'DO' | 'ATTY' | 'V' | 'VI' | 'ESQ' | 'DC' | 'DDS' | 'VM' | 'JD' | 'SECOND' | 'THIRD' — Suffix for name
      - `preferred` string — Informal preferred name added by traveler. This is not used on any PNR or tickets
    - `phoneNumbers` PhoneNumber[]
      - `countryCode` integer — two digit country code
      - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
      - `extension` string — phone number extension
      - `isoCountryCode` string — ISO alpha-2 code
      - `italianLeadingZero` boolean
      - `nationalNumber` integer
      - `numberOfLeadingZeros` integer
      - `preferredDomesticCarrierCode` string
      - `rawInput` string
      - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
    - `profilePicture` Image — An image with meta data. Either the `data` or `url` property must be supplied to load the image.
      - `data` string, byte
      - `dimensions` Dimensions — Image dimensions ie width and height.
        - `height` integer
        - `width` integer
      - `url` string
    - `nationality` string — Nationality of user
    - `title` 'TITLE_UNKNOWN' | 'MR' | 'MS' | 'MRS' | 'MX' | 'MASTER' | 'MISS' | 'DR' | 'PROFESSOR' | 'CAPTAIN' | 'REVEREND' | 'HONOURABLE' | 'SIR' | 'LADY' | 'AMBASSADOR' | 'LORD' | 'BRIGADIER' | 'SENATOR' | 'DAME' | 'JUSTICE' | 'UK' | 'TITLE_REDACTED'
    - `preferredLanguage` string — Language preferred by user.
    - `preferredPronoun` 'SHE_HER_HERS' | 'HE_HIM_HIS' | 'THEY_THEM_THEIRS'
    - `travelerName` Name — Full name containing first, middle, last (family) names, and suffix.
      - `family1` string, required — Last (family) name.
      - `family2` string
      - `given` string, required — First (given) name.
      - `middle` string — Middle name.
      - `suffix` 'NAME_SUFFIX_UNKNOWN' | 'SR' | 'JR' | 'MD' | 'PHD' | 'II' | 'III' | 'IV' | 'DO' | 'ATTY' | 'V' | 'VI' | 'ESQ' | 'DC' | 'DDS' | 'VM' | 'JD' | 'SECOND' | 'THIRD' — Suffix for name
      - `preferred` string — Informal preferred name added by traveler. This is not used on any PNR or tickets
    - `emergencyContact` EmergencyContact — Emergency contact information.
      - `name` string, required — Full name of contact.
      - `email` string, email — Email address of contact.
      - `designation` string — Job title of contact.
      - `relation` 'RELATION_UNKNOWN' | 'SPOUSE' | 'PARENT' | 'SIBLING' | 'CHILD' | 'FRIEND' | 'RELATIVE' | 'COLLEAGUE' | 'OTHER' — Relation of contact to user.
      - `phoneNumbers` PhoneNumber[], required — Phone numbers of contact.
        - `countryCode` integer — two digit country code
        - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
        - `extension` string — phone number extension
        - `isoCountryCode` string — ISO alpha-2 code
        - `italianLeadingZero` boolean
        - `nationalNumber` integer
        - `numberOfLeadingZeros` integer
        - `preferredDomesticCarrierCode` string
        - `rawInput` string
        - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
      - `preferredLanguage` string — Language preferred by user.
  - `businessInfo` BusinessInfo, required — User business information.
    - `departmentRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `designation` string
    - `email` string, email
    - `employeeId` string — Unique employee id. Can use email if a company don't use employee ids.
    - `gradeRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `legalEntityRef` Reference, required — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `managerRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `officeRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `organizationRef` Reference, required — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `phoneNumbers` PhoneNumber[]
      - `countryCode` integer — two digit country code
      - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
      - `extension` string — phone number extension
      - `isoCountryCode` string — ISO alpha-2 code
      - `italianLeadingZero` boolean
      - `nationalNumber` integer
      - `numberOfLeadingZeros` integer
      - `preferredDomesticCarrierCode` string
      - `rawInput` string
      - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
    - `costCenterRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `countryCode` string — alpha-2 or alpha-3 ISO country code.
    - `workerType` 'EMPLOYEE' | 'CONTINGENT' | 'SEASONAL' | 'INTERN' | 'GUEST' — The type of worker.
    - `accountingCode` string — Code used for accounting.
    - `companySpecifiedAttributes` CompanySpecifiedAttribute[]
      - `fixedColumnName` string, required
      - `value` string, required
    - `designatedApproverRefs` Reference[] — A list of references for designated approvers.
      - `id` string, uuid, required
      - `name` string
    - `authorizerEmail` string — Email address to be used as approval authorizer, when a manager is not present.
  - `persona` 'UNKNOWN_PERSONA' | 'EMPLOYEE' | 'GUEST' | 'PERSONAL' | 'RELATIVE' | 'ADHOC', required — Persona of the user
  - `tier` 'BASIC' | 'SEAT1A' | 'TIER_2' | 'TIER_3' | 'TIER_4' | 'TIER_5' | 'TIER_6' | 'TIER_7' | 'TIER_8' | 'TIER_9' | 'TIER_10' | 'TIER_11' | 'TIER_12' | 'TIER_13' | 'TIER_14' | 'TIER_15' | 'TIER_16' | 'TIER_17' | 'TIER_18' | 'TIER_19' | 'TIER_20' | 'TIER_21' | 'TIER_22' | 'TIER_23' | 'TIER_24' | 'TIER_25' | 'TIER_26' | 'TIER_27' | 'TIER_28' | 'TIER_29' | 'TIER_30' | 'TIER_31' — Tier of User. Note: In default UI, BASIC is displayed as Standard, and SEAT1A is displayed as VIP. Display names for other tiers are driven by the company tier configuration.
  - `stealthType` 'STEALTH_TYPE_1' | 'STEALTH_TYPE_2' | 'STEALTH_TYPE_3' — Stealth type.
  - `relativeOf` RelativeOf — Link to primary traveler
    - `userRef` Reference — Reference of an entity
      - `id` string, uuid, required
      - `name` string
    - `relation` 'SPOUSE' | 'CHILD' | 'FRIEND' | 'PARENT' | 'OTHER'
  - `travelPreferences` TravelPreferences — User's travel preferences
    - `preferences` TravelPref — Travel preferences.
      - `airPref` AirPref — Travel preferences related to air travel.
        - `airlinePrefs` AirlinePref[]
          - `airlines` string[]
          - `flightType` 'UNKNOWN_FLIGHT_TYPE' | 'DOMESTIC' | 'INTERNATIONAL' | 'ALL'
        - `alliancePref` AlliancePref — Alliance preferences.
          - `alliances` Alliance[], required
        - `farePref` FarePref — Fare preferences.
          - `fareTypes` string[], required
        - `homeAirport` string
        - `mealPref` MealPref — Meal preferences.
          - `exclMealPrefs` MealType[]
          - `inclMealPrefs` MealType[]
          - `specialMealDescription` string
        - `numStopPref` NumStopsPref — Preferred number of stops.
          - `numOfStops` integer, required
        - `seatAmenityPref` SeatAmenityPref — Seat amenity preference.
          - `seatAmenityTypes` string[], required
        - `seatLocationPrefs` SeatLocationPref[]
          - `cabins` string[]
          - `isBulkHeadPref` boolean
          - `maxFlightDurationInHours` integer
          - `position` 'UNKNOWN_POSITION' | 'AISLE' | 'WINDOW' | 'AISLE_OR_WINDOW'
        - `preferredAirports` PreferredAirport[] — A list of user preferred airports.
          - `airportName` string — Airport name.
          - `airportCode` string, required — IATA airport code.
          - `label` 'HOME' | 'WORK' | 'OTHER', required — The label of preferred airport or rail station.
      - `preferredCurrency` string
      - `railCards` RailCard[]
        - `cardNumber` string — Number of card
        - `expiryDate` DateModel — Date in ISO 8601 standard.
          - `iso8601` string, required
        - `name` string, required — Name of the Rail Card.
        - `spotnanaCode` string, required — Unique Spotnana code/identifier for Rail Card.
        - `vendor` string, required — Vendor Name.
      - `railPref` RailPref — Travel preferences related to rail station.
        - `preferredRailStations` PreferredRailStation[] — A list of user preferred rail stations.
          - `stationName` string — Rail station name.
          - `stationCode` string, required — Rail station code.
          - `cityName` string — Name of city where the rail station is located.
          - `countryCode` string — Alpha-2 country code where the rail station is located.
          - `label` 'HOME' | 'WORK' | 'OTHER', required — The label of preferred airport or rail station.
        - `seatPreference` SeatPref — Preference about seat of rail.
          - `hasAccessibility` boolean — Whether or not requires assistance for disability.
          - `seatTypes` SeatPrefType[]
          - `seatLocations` SeatPrefLocation[]
          - `deckLevels` DeckLevel[]
          - `seatDirections` SeatPrefDirection[]
        - `travelClasses` RailTravelClass[] — A list of class of service for rail.
        - `coachPreferences` CoachPref[] — A list of coach preference for rail.
        - `conditionalRates` ConditionalRate[] — A list of conditional rates for rail.
      - `carPref` CarPref — Travel preferences related to car.
        - `vendors` CarVendor[] — A list of car vendors.
          - `code` string, required — Vendor code
          - `name` string, required — Vendor name
          - `isPresentInPreferredVendors` boolean — Whether the car vendor is present in preferred vendor list. This is an optional field which gets populated only in the preferred vendor autocomplete API.
        - `carTypes` CarType[] — A list of types of car.
        - `engineTypes` EngineType[] — A list of types of engine.
        - `transmissionTypes` TransmissionSearchFilter[] — A list of types of transmission.
        - `conditionalRates` ConditionalRate[] — A list of conditional rates for rail.
      - `hotelPref` HotelPref — Travel preferences related to hotel.
        - `hotelParentChains` HotelChain[] — A list of hotel parent chains.
          - `chainCode` string — The code of hotel chain.
          - `chainName` string — The name of hotel chain.
        - `hotelBrands` HotelBrand[] — A list of hotel brands.
          - `brandCode` string — The code of hotel brand.
          - `brandName` string — The name of hotel brand.
        - `hotelAmenityTypes` HotelPrefAmenity[] — A list of HotelAmenities.
        - `roomPreference` RoomPreference — Room options and stay preference.
          - `isMobilityAccessible` boolean — Whether or not mobility accessible room, tub.
          - `bedCount` 'ONE_BED' | 'TWO_BEDS' — The number of bed in the room.
          - `roomType` 'SMOKING' | 'NON_SMOKING' — Single selection of type of room.
          - `mostImportantFact` 'ROOM_TYPE' | 'BED_COUNT' | 'ROOM_LOCATION' — Single selection of the most import fact.
          - `roomLocation` 'HIGH_FLOOR' | 'LOW_FLOOR' | 'NEAR_ELEVATOR' — Location of the hotel room
          - `pillowType` 'FOAM' | 'EXTRA_FOAM' | 'EXTRA_FEATHER' — The type of pillow in hotel room.
          - `roomAmenityPrefs` string[]
        - `conditionalRates` ConditionalRate[] — A list of conditional rates for rail.
  - `membershipInfo` MembershipInfo — User's loyalty program membership details.
    - `membershipInfos` LoyaltyInfo[]
      - `appliedTo` string[]
      - `id` string, required
      - `issuedBy` string, required
      - `type` 'UNKNOWN_TYPE' | 'AIR' | 'HOTEL' | 'CAR' | 'RAIL', required
      - `linked` boolean — Indicates if this loyalty account is linked to the external provider. Only applicable for certain loyalty types.
      - `tier` string — Loyalty membership tier name echoed from the supplier.
    - `isLoyaltyBlocked` boolean — Whether user is blocked to use loyalty programs. This is a read only field.
  - `notificationPreferences` NotificationPreferences — Notification preferences of a user for different notification types.
    - `preferences` NotificationPreferencePerType[]
      - `notificationType` 'FLIGHT_NOTIFICATION' | 'BOOKING_NOTIFICATION'
      - `emailPreference` NotificationEmailPreference — Email preference for notification type.
        - `enabled` boolean — Whether the email preference is enabled or not.
        - `ccEmails` string[] — List of cc emails for the email preference.
  - `adhocUserInfo` AdhocUserInfo — Basic information related to ad-hoc traveler profile.
    - `profileOwner` ProfileOwner, required — Basic information about the owner of the ad-hoc user.
      - `userId` UserId, required — User identifier
        - `id` string, uuid, required
    - `isSaved` boolean — A boolean flag to show if ad-hoc traveler is visible in search. While updating the user if client tries to update this field, it will throw exception.
  - `externalId` string — The partner-assigned user identifier.
  - `travelArrangers` UserTravelArrangers — Travel arrangers for a user.
    - `travelArrangers` TravelArrangerBasicInfo[], required
      - `name` Name — Full name containing first, middle, last (family) names, and suffix.
        - `family1` string, required — Last (family) name.
        - `family2` string
        - `given` string, required — First (given) name.
        - `middle` string — Middle name.
        - `suffix` 'NAME_SUFFIX_UNKNOWN' | 'SR' | 'JR' | 'MD' | 'PHD' | 'II' | 'III' | 'IV' | 'DO' | 'ATTY' | 'V' | 'VI' | 'ESQ' | 'DC' | 'DDS' | 'VM' | 'JD' | 'SECOND' | 'THIRD' — Suffix for name
        - `preferred` string — Informal preferred name added by traveler. This is not used on any PNR or tickets
      - `email` string, email
      - `phoneNumbers` PhoneNumber[]
        - `countryCode` integer — two digit country code
        - `countryCodeSource` 'UNSPECIFIED' | 'FROM_NUMBER_WITH_PLUS_SIGN' | 'FROM_NUMBER_WITH_IDD' | 'FROM_NUMBER_WITHOUT_PLUS_SIGN' | 'FROM_DEFAULT_COUNTRY'
        - `extension` string — phone number extension
        - `isoCountryCode` string — ISO alpha-2 code
        - `italianLeadingZero` boolean
        - `nationalNumber` integer
        - `numberOfLeadingZeros` integer
        - `preferredDomesticCarrierCode` string
        - `rawInput` string
        - `type` 'UNKNOWN_TYPE' | 'MOBILE' | 'LANDLINE'
      - `userId` UserId, required — User identifier
        - `id` string, uuid, required
      - `status` 'PENDING' | 'ACCEPTED' | 'DENIED' — Status of the traveler-arranger assignment.

## Response `200`

No Content

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/user-management-api.md) · [All operations](https://skmtc.net/spotnana/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/user-management-api/versions/920fb84cbf70/schema)
