TUI Group User API

The user API from TUI Group — 11 operation(s) for user.

Operations 25

GET /api/nsk/v1/user Retrieves the current logged in user. #
POST /api/nsk/v1/user Creates a user and person (used by anonymous to create non agent logins). #
PUT /api/nsk/v1/user Updates the current logged in user. #
PATCH /api/nsk/v1/user Patches the current logged in user. #
GET /api/nsk/v1/user/bookings Searches the logged in user booking upcoming and past bookings. #
GET /api/nsk/v1/user/bookingsByContactCustomerNumber Searches for any bookings that have the current user as a contact via their customer number. #
GET /api/nsk/v1/user/bookingsByPassenger Searches the logged in user booking upcoming and past bookings. #
GET /api/nsk/v1/user/impersonate Gets the logged in users current session roles state. #
POST /api/nsk/v1/user/impersonate Impersonates a new role for the logged in user. #
DELETE /api/nsk/v1/user/impersonate Resets the logged in users role. #
POST /api/nsk/v3/user/password/change Changes the logged in user's password. #
GET /api/nsk/v1/user/preferences/skySpeedSettings Retrieves the default SkySpeed settings user preferences of the currently logged in user. #
PUT /api/nsk/v1/user/preferences/skySpeedSettings Updates the default SkySpeed settings user preferences of the currently logged in user. #
GET /api/nsk/v1/user/roles Gets all roles from the logged in user. #
POST /api/nsk/v1/user/roles Creates a new role on the logged in user. #
GET /api/nsk/v1/user/roles/{userRoleKey} Gets a specific role from the logged in user. #
PUT /api/nsk/v1/user/roles/{userRoleKey} Updates a specific role on the logged in user. #
PATCH /api/nsk/v1/user/roles/{userRoleKey} Patches a specific role on the logged in user. #
DELETE /api/nsk/v1/user/roles/{userRoleKey} Deletes a specific role on the logged in user. #
GET /api/nsk/v1/user/singleSignOnToken Gets all of the single sign on tokens associated with a specific user. #
GET /api/nsk/v1/user/singleSignOnToken/{providerKey} Gets a single sign on token associated with a specific user. #
POST /api/nsk/v1/user/singleSignOnToken/{providerKey} Links the requested token with the logged-in user. #
PUT /api/nsk/v1/user/singleSignOnToken/{providerKey} Updates an existing token associated with the logged-in user. #
PATCH /api/nsk/v1/user/singleSignOnToken/{providerKey} Patches an existing token associated with the logged-in user. #
DELETE /api/nsk/v1/user/singleSignOnToken/{providerKey} Deletes a token associated with the single sign on provider from the logged-in user. #

Documentation

📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/simple-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/advanced-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/creditcard-payments
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/check-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/booking-flow
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/description
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-details
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/code-examples
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/description
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/data-format
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-description
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-details
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-flight-ota-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/technical-details
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-description
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-details
📖
Documentation
https://developer.tui/api-catalog/walldy-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/walldy-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/api-description
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/meta-search-generic-api/api-description
📖
Documentation
https://developer.tui/api-catalog/partner-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ship-content-api/api-description

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/tui-group-user-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tui-group-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NewSkies-Digital-Api User API
  version: 4.8.6.23
  description: Navitaire Digital Api
servers:
- url: https://prod.api.tui/flight/newskies/rest
  description: TUI Prod
- url: https://playground.api.tui/flight/newskies/rest
  description: TUI Playground
security:
- JWT: []
tags:
- name: user
paths:
  /api/nsk/v1/user:
    get:
      tags:
      - user
      summary: Retrieves the current logged in user.
      description: 'GraphQL endpoint: user'
      operationId: nsk_v1_user_get
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfUser'
      deprecated: true
    post:
      tags:
      - user
      summary: Creates a user and person (used by anonymous to create non agent logins).
      description: 'This endpoint will create a user based off the system configured customer creation parameters. The associated

        person has to be of type customer or an exception will be thrown. To change these default settings please configure

        utilities.


        GraphQL endpoint: userAdd'
      operationId: nsk_v1_user_post
      requestBody:
        x-name: request
        description: The user customer create request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserCustomerCreateRequest'
        required: true
        x-position: 1
      responses:
        '201':
          description: The item was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    put:
      tags:
      - user
      summary: Updates the current logged in user.
      description: 'GraphQL endpoint: userSet'
      operationId: nsk_v1_user_put
      requestBody:
        x-name: request
        description: The user edit request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
    patch:
      tags:
      - user
      summary: Patches the current logged in user.
      description: 'GraphQL endpoint: userModifyv2'
      operationId: nsk_v1_user_patch
      requestBody:
        x-name: request
        description: The user patch request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeltaMapperOfUserRequest'
        required: true
        x-position: 1
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
  /api/nsk/v1/user/bookings:
    get:
      tags:
      - user
      summary: Searches the logged in user booking upcoming and past bookings.
      description: 'GraphQL endpoint: userBookings'
      operationId: nsk_v1_user_bookings_get
      parameters:
      - name: AssociatedFirstName
        in: query
        description: "An associated passenger/contact first name.\n            "
        schema:
          type:
          - string
          - 'null'
        x-position: 1
      - name: AssociatedLastName
        in: query
        description: "An associated passenger/contact last name.\n            "
        schema:
          type:
          - string
          - 'null'
        x-position: 2
      - name: PhoneticSearch
        in: query
        description: "Flag indicating to search using the phonetic option.\n            "
        schema:
          type:
          - boolean
          - 'null'
        x-position: 3
      - name: TripIdentifier
        in: query
        description: "Filter by trip identifier.\n            "
        schema:
          type:
          - string
          - 'null'
        x-position: 4
      - name: Origin
        in: query
        description: "Filter by origin station code.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 0
        x-position: 5
      - name: Destination
        in: query
        description: "Filter by destination station code.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 0
        x-position: 6
      - name: SearchArchive
        in: query
        description: "Flag indicating to search archived bookings.\n            "
        schema:
          type:
          - boolean
          - 'null'
        x-position: 7
      - name: TripDate
        in: query
        description: "Filter by trip date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 8
      - name: StartDate
        in: query
        description: "Filter by starting search date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 9
      - name: EndDate
        in: query
        description: "Filter by ending search date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 10
      - name: SearchByCustomerNumber
        in: query
        description: "Flag indicating to search by the users customer number instead of user identifier.\n            "
        schema:
          type:
          - boolean
          - 'null'
        x-position: 11
      - name: ReturnCount
        in: query
        description: "The number of results to be returned.\n            "
        schema:
          type: integer
          maximum: 5000.0
          minimum: 10.0
        x-position: 12
      - name: LastBookingKey
        in: query
        description: "The last booking key.\n            "
        schema:
          type:
          - string
          - 'null'
        x-position: 13
      - name: StartingIndex
        in: query
        description: "The starting index of the next set of bookings (used for paging).\n            "
        schema:
          type:
          - integer
          - 'null'
          format: int64
        x-position: 14
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfIListOfBookingSearchResult'
      deprecated: true
  /api/nsk/v1/user/bookingsByContactCustomerNumber:
    get:
      tags:
      - user
      summary: Searches for any bookings that have the current user as a contact via their customer number.
      description: 'GraphQL endpoint: userBookingsByContactCustomerNumber'
      operationId: nsk_v1_user_bookingsByContactCustomerNumber_get
      parameters:
      - name: PageSize
        in: query
        description: "The number of items to return for the request.\n            "
        schema:
          type:
          - integer
          - 'null'
          maximum: 5000.0
          minimum: 10.0
        x-position: 1
      - name: LastIndex
        in: query
        description: "The last booking index (used for paging).\n            "
        schema:
          type:
          - integer
          - 'null'
          format: int64
          maximum: 9.223372036854776e+18
          minimum: 0.0
        x-position: 2
      - name: FlightNumber
        in: query
        description: "Filter by the flight number.\n            "
        schema:
          type:
          - string
          - 'null'
        x-position: 3
      - name: DepartureDate
        in: query
        description: "The first journeys departure date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 4
      - name: Destination
        in: query
        description: "Filter by the destination code.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 3
        x-position: 5
      - name: Origin
        in: query
        description: "Filter by the departure code.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 3
        x-position: 6
      - name: SourceOrganization
        in: query
        description: "Filter by the organization associated with the booking. For example the\ntravel agency associated with this booking.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 10
          minLength: 0
        x-position: 7
      - name: OrganizationGroupCode
        in: query
        description: "Filter by the organization group code to find.\n            "
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 0
        x-position: 8
      - name: SearchArchive
        in: query
        description: "Whether or not to search the booking archive.\n            "
        schema:
          type:
          - boolean
          - 'null'
        x-position: 9
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfIListOfBookingSearchResult'
  /api/nsk/v1/user/bookingsByPassenger:
    get:
      tags:
      - user
      summary: Searches the logged in user booking upcoming and past bookings.
      description: 'This is similar to the user booking endpoint but returns more focused trip information.

        This endpoint will only return data where a booking''s passenger customer number matches the current logged in user.

        Bookings made by the user where the passenger customer number is not assigned are ignored.

        The BeginDate will default to today, and the EndDate defaults to one month from today unless a value is provided.


        GraphQL endpoint: userBookingsByPassenger'
      operationId: nsk_v1_user_bookingsByPassenger_get
      parameters:
      - name: StartDate
        in: query
        description: "Booking start search date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 1
      - name: EndDate
        in: query
        description: "Booking end search date.\n            "
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfIListOfBookingTripResult'
      deprecated: true
  /api/nsk/v1/user/impersonate:
    get:
      tags:
      - user
      summary: Gets the logged in users current session roles state.
      description: 'GraphQL endpoint: impersonate'
      operationId: nsk_v1_user_impersonate_get
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfNskRoles'
    post:
      tags:
      - user
      summary: Impersonates a new role for the logged in user.
      description: 'GraphQL endpoint: impersonateSet'
      operationId: nsk_v1_user_impersonate_post
      requestBody:
        x-name: request
        description: The user impersonate request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserImpersonateRequest'
        required: true
        x-position: 1
      responses:
        '202':
          description: The request was accepted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    delete:
      tags:
      - user
      summary: Resets the logged in users role.
      description: 'GraphQL endpoint: impersonateDelete'
      operationId: nsk_v1_user_impersonate_delete
      responses:
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Success.:
                  description: Success will return a 200 with no data.
                  value:
                    data: null
                Not impersonating.:
                  description: If not needed a 200 will be returned with a warning.
                  value:
                    messages:
                    - code: nsk:NoOperation
                      type: Warning
                      value: No operation was performed. The data is already in the expected state.
                      status: 0
                      details: null
                    data: null
  /api/nsk/v3/user/password/change:
    post:
      tags:
      - user
      summary: Changes the logged in user's password.
      description: 'Validates that the current password is correct before proceeding.

        This follows domain level restrictions and could result in a failed change if there is a minimum time

        requirement between password changes, invalid password length, or invalid character.


        GraphQL endpoint: userChangePasswordv3'
      operationId: nsk_v3_user_password_change_post
      requestBody:
        x-name: request
        description: The change password request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserChangePasswordRequestv2'
            examples:
              UserChangePasswordRequestv2:
                description: Updates the current user's password with the new provided one.
                value:
                  currentPassword: oldPassword123!
                  newPassword: newPassword123!
        required: true
        x-position: 1
      responses:
        '201':
          description: The item was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '400':
          description: There was a problem with the request and it could not be completed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Error response for incorrect domain, username, or password.:
                  description: Only returns raw message in debug mode.
                  value:
                    errors:
                    - id: null
                      code: nsk:PasswordChange:Failed
                      message: null
                      type: Error
                      details: null
                      rawMessage: 'nsk-server:AgentAuthentication: The agent (WWW/ABC123) was not authenticated'
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
                Error response for a locked account.:
                  description: Only returns raw message in debug mode.
                  value:
                    errors:
                    - id: null
                      code: nsk:PasswordChange:Failed
                      message: null
                      type: Error
                      details: null
                      rawMessage: 'nsk-server:AgentLocked: The agent (WWW/ABC123) is locked.'
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
                Error response for minimum password time.:
                  description: Only returns raw message in debug mode. Minimum time is determined by domain configuration.
                  value:
                    errors:
                    - id: null
                      code: nsk:PasswordChange:Failed
                      message: null
                      type: Error
                      details: null
                      rawMessage: 'nsk-server:PasswordMinimumTime: The agent (WWW/ABC123) cannot change their password before the Minimum Time is up.'
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
                Error response for password policy violation.:
                  description: Only returns raw message in debug mode. Password policy is configurable and determined by the domain.
                  value:
                    errors:
                    - id: null
                      code: nsk:PasswordChange:Failed
                      message: null
                      type: Error
                      details: null
                      rawMessage: 'nsk-server:PasswordPolicy: X, Y, Z'
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
                Error response when the new password is already used as password before.:
                  description: Only returns raw message in debug mode. Unique password count is determined by domain configuration.
                  value:
                    errors:
                    - id: null
                      code: nsk-server:PasswordHistory
                      message: nsk-server:PasswordHistory
                      type: Information
                      details: null
                      rawMessage: The agent (WWW/tst01) cannot reuse this password.
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
  /api/nsk/v1/user/preferences/skySpeedSettings:
    get:
      tags:
      - user
      summary: Retrieves the default SkySpeed settings user preferences of the currently logged in user.
      description: 'GraphQL endpoint: userPreferencesSkySpeedSettings'
      operationId: nsk_v1_user_preferences_skySpeedSettings_get
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfSkySpeedSettingsUserPreferences'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
    put:
      tags:
      - user
      summary: Updates the default SkySpeed settings user preferences of the currently logged in user.
      description: 'If the SkySpeed settings of the current user is disabled and an update is made,

        the settings will automatically be enabled and updated.


        If given, each string property is validated if it exists and is active.


        The collection currency setting can only be CollectionCurrencySetting.None if the collection currency code is

        null or empty.


        A bad request will be returned if the collection currency code and collection currency setting are:

        - Collection Currency Code is not null or empty and the Collection Currency Setting is set to

        CollectionCurrency.None.

        - Collection Currency Code is null or empty and the Collection Currency Setting is set to

        CollectionCurrency.Both (Any value except for CollectionCurrencySetting.None).


        GraphQL endpoint: userPreferencesSkySpeedSettingsSet'
      operationId: nsk_v1_user_preferences_skySpeedSettings_put
      requestBody:
        x-name: request
        description: The SkySpeed settings user preferences.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SkySpeedSettingsUserPreferences'
        required: true
        x-position: 1
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
  /api/nsk/v1/user/roles:
    get:
      tags:
      - user
      summary: Gets all roles from the logged in user.
      description: Gets all roles from the logged in user.
      operationId: nsk_v1_user_roles_get
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfIListOfUserRole'
      deprecated: true
    post:
      tags:
      - user
      summary: Creates a new role on the logged in user.
      description: 'GraphQL endpoint: userRoleAdd'
      operationId: nsk_v1_user_roles_post
      requestBody:
        x-name: request
        description: The new role.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRoleCreateRequest'
        required: true
        x-position: 1
      responses:
        '201':
          description: The item was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
  /api/nsk/v1/user/roles/{userRoleKey}:
    get:
      tags:
      - user
      summary: Gets a specific role from the logged in user.
      description: 'GraphQL endpoint: userRole'
      operationId: nsk_v1_user_roles_userRoleKey_get
      parameters:
      - name: userRoleKey
        in: path
        required: true
        description: The unique user role key
        schema:
          type: string
        x-position: 1
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfUserRole'
      deprecated: true
    put:
      tags:
      - user
      summary: Updates a specific role on the logged in user.
      description: 'GraphQL endpoint: userRoleSet'
      operationId: nsk_v1_user_roles_userRoleKey_put
      parameters:
      - name: userRoleKey
        in: path
        required: true
        description: The unique user role key.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The modified role.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserRoleEditRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
    patch:
      tags:
      - user
      summary: Patches a specific role on the logged in user.
      description: 'GraphQL endpoint: userRoleModify'
      operationId: nsk_v1_user_roles_userRoleKey_patch
      parameters:
      - name: userRoleKey
        in: path
        required: true
        description: The unique user role key.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: request
        description: The patched role.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeltaMapperOfUserRolePatchRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
    delete:
      tags:
      - user
      summary: Deletes a specific role on the logged in user.
      description: 'GraphQL endpoint: userRoleDelete'
      operationId: nsk_v1_user_roles_userRoleKey_delete
      parameters:
      - name: userRoleKey
        in: path
        required: true
        description: The unique user role key.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
      deprecated: true
  /api/nsk/v1/user/singleSignOnToken:
    get:
      tags:
      - user
      summary: Gets all of the single sign on tokens associated with a specific user.
      description: 'GraphQL endpoint: singleSignOnTokens'
      operationId: nsk_v1_user_singleSignOnToken_get
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfIListOfUserSingleSignOnToken'
  /api/nsk/v1/user/singleSignOnToken/{providerKey}:
    get:
      tags:
      - user
      summary: Gets a single sign on token associated with a specific user.
      description: 'GraphQL endpoint: singleSignOnToken'
      operationId: nsk_v1_user_singleSignOnToken_providerKey_get
      parameters:
      - name: providerKey
        in: path
        required: true
        description: The single sign on provider key.
        schema:
          type: string
        x-position: 1
      responses:
        '404':
          description: The item was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfUserSingleSignOnToken'
    post:
      tags:
      - user
      summary: Links the requested token with the logged-in user.
      description: 'GraphQL endpoint: singleSignOnTokenAdd'
      operationId: nsk_v1_user_singleSignOnToken_providerKey_post
      parameters:
      - name: providerKey
        in: path
        required: true
        description: The single sign on provider key.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: tokenRequest
        description: The single sign on token request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SingleSignOnTokenRequest'
        required: true
        x-position: 2
      responses:
        '201':
          description: The item was created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    put:
      tags:
      - user
      summary: Updates an existing token associated with the logged-in user.
      description: 'GraphQL endpoint: singleSignOnTokenSet'
      operationId: nsk_v1_user_singleSignOnToken_providerKey_put
      parameters:
      - name: providerKey
        in: path
        required: true
        description: The single sign on provider key.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: tokenRequest
        description: The single sign on token request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SingleSignOnTokenRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    patch:
      tags:
      - user
      summary: Patches an existing token associated with the logged-in user.
      description: 'GraphQL endpoint: singleSignOnTokenModify'
      operationId: nsk_v1_user_singleSignOnToken_providerKey_patch
      parameters:
      - name: providerKey
        in: path
        required: true
        description: The single sign on provider key.
        schema:
          type: string
        x-position: 1
      requestBody:
        x-name: tokenRequest
        description: The single sign on token request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeltaMapperOfSingleSignOnTokenRequest'
        required: true
        x-position: 2
      responses:
        '200':
          description: OK. Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '500':
          description: A server error occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
    delete:
      tags:
      - user


# --- truncated at 32 KB (94 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tui-group/refs/heads/main/openapi/tui-group-user-api-openapi.yml