Apptio Preferences API

Operations for Preferences

GitHub OpenAPI

Operations 4

PUT /api/v2/preferences Creates or updates preferences for specified entity #
DELETE /api/v2/preferences Deletes Preferences for specified User #
POST /api/v2/preferences/getuserpreferences Gets all Preferences for specified User #
GET /api/v2/preferences/user/{userId} Gets all Preferences for specified User #

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/apptio:apptio-preferences-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

apptio-preferences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  license: {}
  title: Apptio Preferences API
  description: Operations for Preferences
tags:
- name: Preferences
  description: Operations for Preferences
paths:
  /api/v2/preferences:
    put:
      tags:
      - Preferences
      summary: Creates or updates preferences for specified entity
      description: 'Returns created/updated preferences.


        JSON Parameters:

        entityType:

        entityId:

        preferences:


        Permissions:

        A User can create or update a target User''s Preferences if any of the following are true:- they are the target User- they have the MSP Admin role on the MSP Provider environment in the parent domain of the target User''s Domain- they belong to the same authentication domain as the target User and have the ''manageUser'' permission on any Environment under any Customer in that Domain- they have the ''manageDomainUser'' permission on any Environment under any Customer in the target User''s Domain.

        Additionally, Frontdoor level permissions allow for UPDATE on the following sets of Authentication Domains.

        - manageUser allows for UPDATE of any internal authentication Domain.

        - manageUser and manageExternal allows for UPDATE of any authentication Domain.'
      operationId: createOrUpdatePreferences
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Preference'
        required: true
      responses:
        '201':
          description: Preferences created or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Preference'
        '400':
          description: Invalid data submitted
        '404':
          description: Entity specified does not exist
        '403':
          description: You don't have the required permissions to perform this operation.
    delete:
      tags:
      - Preferences
      summary: Deletes Preferences for specified User
      description: 'Deletes Preferences for specified User.


        URL Path Parameters:

        userId: id of the User for which to delete Preferences


        Permissions:

        A User can delete a target User''s Preferences if any of the following are true:- they are the target User- they have the MSP Admin role on the MSP Provider environment in the parent domain of the target User''s Domain- they belong to the same authentication domain as the target User and have the ''manageUser'' permission on any Environment under any Customer in that Domain- they have the ''manageDomainUser'' permission on any Environment under any Customer in the target User''s Domain.

        Additionally, Frontdoor level permissions allow for UPDATE on the following sets of Authentication Domains.

        - manageUser allows for UPDATE of any internal authentication Domain.

        - manageUser and manageExternal allows for UPDATE of any authentication Domain.'
      operationId: deletePreferences
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Preference'
        required: true
      responses:
        '204':
          description: Preferences deleted
        '404':
          description: User specified does not exist or has no preferences set
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/preferences/getuserpreferences:
    post:
      tags:
      - Preferences
      summary: Gets all Preferences for specified User
      description: 'Returns Preferences for specified User.


        JSON Parameter:

        search_string: id of the User for which to retrieve Preferences


        Permissions:

        Permissions:

        A User can read a target User''s Preferences if any of the following are true:- they are the target User- they have the MSP Admin role on the MSP Provider environment in the parent domain of the target User''s Domain- they belong to the same authentication domain as the target User and have the ''manageUser'' permission on any Environment under any Customer in that Domain- they have the ''manageDomainUser'' permission on any Environment under any Customer in the target User''s Domain.

        Additionally, Frontdoor level permissions allow for UPDATE on the following sets of Authentication Domains.

        - manageUser allows for UPDATE of any internal authentication Domain.

        - manageUser and manageExternal allows for UPDATE of any authentication Domain.'
      operationId: getPreferencesViaPost
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserSearch'
        required: true
      responses:
        '200':
          description: Requested Preferences
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Preference'
        '400':
          description: Invalid data submitted
        '404':
          description: Requested User not found or has no Preferences set
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/preferences/user/{userId}:
    get:
      tags:
      - Preferences
      summary: Gets all Preferences for specified User
      description: 'Returns Preferences for specified User.


        URL Path Parameters:

        userId: id of the User for which to retrieve Preferences


        Permissions:

        A User can read a target User''s Preferences if any of the following are true:- they are the target User- they have the MSP Admin role on the MSP Provider environment in the parent domain of the target User''s Domain- they belong to the same authentication domain as the target User and have the ''manageUser'' permission on any Environment under any Customer in that Domain- they have the ''manageDomainUser'' permission on any Environment under any Customer in the target User''s Domain.

        Additionally, Frontdoor level permissions allow for UPDATE on the following sets of Authentication Domains.

        - manageUser allows for UPDATE of any internal authentication Domain.

        - manageUser and manageExternal allows for UPDATE of any authentication Domain.'
      operationId: getPreferences
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          $ref: '#/components/schemas/Id'
      responses:
        '200':
          description: Requested Preferences
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Preference'
        '400':
          description: Invalid data submitted
        '404':
          description: Requested User not found or has no Preferences set
        '403':
          description: You don't have the required permissions to perform this operation.
components:
  schemas:
    Id:
      required:
      - id
      type: object
      properties:
        id:
          type: string
    UserSearch:
      required:
      - search_string
      type: object
      properties:
        search_string:
          type: string
    Preference:
      required:
      - entityId
      - entityType
      type: object
      properties:
        preferences:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: string
        entityId:
          type: string
        entityType:
          type: string
          enum:
          - USER
          - UNKNOWN