Apptio Apikey V1 API

Operations for Api Keys

GitHub OpenAPI

Operations 9

PUT /api/apikey/activate Activates an ApiKey #
PUT /api/apikey Updates an ApiKey #
POST /api/apikey Creates an ApiKey #
DELETE /api/apikey Delete an APIKey #
POST /api/apikeypair Creates a new APIKeyPair for an APIKey #
DELETE /api/apikeypair Delete an APIKeyPair #
PUT /api/apikey/deactivate Deactivate an ApiKey #
GET /api/apikey/{apiKeyId} Gets the ApiKey based on an Id #
GET /api/apikeys/{userId} Gets the ApiKeys for a User #

Specifications

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-apikey-v1-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-apikey-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  license: {}
  title: Apptio Apikey V1 API
  description: Operations for Api Keys
tags:
- name: apikey-v1
  description: Operations for Api Keys
paths:
  /api/apikey/activate:
    put:
      tags:
      - apikey-v1
      summary: Activates an ApiKey
      description: 'Activates an ApiKey


        JSON Parameters:

        id: The Id the ApiKey to activate


        Returns:

        Updated ApiKey


        Permissions:

        A User can update APIKeys on their own account. A User can also update APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: activateApiKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '201':
          description: ApiKey updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        '400':
          description: Invalid data submitted
        '403':
          description: You do not have the required permissions to perform this operation
        '404':
          description: ApiKey not found
  /api/apikey:
    put:
      tags:
      - apikey-v1
      summary: Updates an ApiKey
      description: 'Updates an ApiKey''s description


        JSON Parameters:

        apiKey: The ApiKey with updated description


        Returns:

        Updated ApiKey


        Permissions:

        A User can update APIKeys on their own account. A User can also update APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: updateApiKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '201':
          description: ApiKey updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        '400':
          description: Invalid data submitted
        '403':
          description: You do not have the required permissions to perform this operation
        '404':
          description: ApiKey not found
    post:
      tags:
      - apikey-v1
      summary: Creates an ApiKey
      description: 'Creates an ApiKey and returns the ApiKeyPair id and Secret


        JSON Parameters:

        ApiKey: Dto containing Key creation information


        Returns:

        Created ApiKey Id and Secret


        Constraints:

        The name of the APIKey must be unique


        Permissions:

        A User can create APIKeys on their own account. A User can also create APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: createApiKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '201':
          description: ApiKey Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeySecret'
        '400':
          description: Invalid data submitted
        '403':
          description: You do not have the required permissions to perform this operation
        '404':
          description: User not found
    delete:
      tags:
      - apikey-v1
      summary: Delete an APIKey
      description: 'Deletes an APIKey.

        JSON Parameters:

        id: The Id ApiKey to delete


        Constraints:

        All roles must be revoked from an APIKey before it can be deleted

        Permissions:

        A User can delete APIKeys on their own account. A User can also delete APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: deleteApiKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '204':
          description: ApiKey deleted
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApiKey not found
  /api/apikeypair:
    post:
      tags:
      - apikey-v1
      summary: Creates a new APIKeyPair for an APIKey
      description: 'Creates a new APIKeyPair for an APIKey

        This can be used to easily rotate APIKeys

        JSON Parameters:

        id: The Id ApiKey to create an APIKeyPair for


        Returns:

        ApiKeySecret object

        Permissions:

        A User can create APIKeyPairs on their own account. A User can also create APIKeyPairs under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: createNewKeyPair
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '201':
          description: ApiKeyPair created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKeySecret'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApiKey not found
    delete:
      tags:
      - apikey-v1
      summary: Delete an APIKeyPair
      description: 'Deletes an APIKeyPair.

        JSON Parameters:

        id: (Key) The UUID of the APIKeyPair to delete


        Permissions:

        A User can delete APIKeyPairs on their own account. A User can also delete APIKeyPairs under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: deleteApiKeyPair
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKeyPair'
        required: true
      responses:
        '204':
          description: ApiKeyPair deleted
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApiKeyPair not found
  /api/apikey/deactivate:
    put:
      tags:
      - apikey-v1
      summary: Deactivate an ApiKey
      description: 'Deactivate an ApiKey


        JSON Parameters:

        id: The Id of the ApiKey to deactivate


        Returns:

        Updated Api Key


        Permissions:

        A User can update APIKeys on their own account. A User can also update APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created if they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: deactivateApiKey
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiKey'
        required: true
      responses:
        '201':
          description: ApiKey updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        '400':
          description: Invalid data submitted
        '403':
          description: You do not have the required permissions to perform this operation
        '404':
          description: ApiKey not found
  /api/apikey/{apiKeyId}:
    get:
      tags:
      - apikey-v1
      summary: Gets the ApiKey based on an Id
      description: 'Gets the ApiKey based on an Id.

        URL Path Parameters:

        apiKeyId: UUID of the Key to read

        Returns:

        ApiKey object with the specified Id.


        Permissions:

        A User can read APIKeys on their own account. A User can also read APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: getApiKey
      parameters:
      - name: apiKeyId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Requested ApiKey
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApiKey not found
  /api/apikeys/{userId}:
    get:
      tags:
      - apikey-v1
      summary: Gets the ApiKeys for a User
      description: 'Gets the ApiKeys for a Use.

        URL Path Parameters:

        apiKeyId: UUID of the Key to read

        Returns:

        List that belong to the User.


        Permissions:

        A User can read APIKeys on their own account. A User can also read APIKeys under another Users account if they have permissions to UPDATE the User under which the APIKey is being created or they have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE Users of an authentication Domain if they have the ''manageUser'' permission on any Environment under a Customer who has the same authentication Domain and they belong to the same authentication Domain as the User, or they have the ''manageDomainUser'' permission on any Environment under a Customer who has the same Authentication Domain as the User.

        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: getApiKeysForUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          maxLength: 80
          minLength: 1
          type: string
      responses:
        '200':
          description: ApiKeys for User
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiKey'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApiKeys not found
components:
  schemas:
    ApiKeySecret:
      type: object
      properties:
        id:
          type: string
          format: uuid
        keyPairId:
          type: string
          format: uuid
        secret:
          type: string
    ApiKeyPair:
      type: object
      properties:
        createdDate:
          type: integer
          format: int64
        expirationDate:
          type: integer
          format: int64
        id:
          type: string
          format: uuid
        apiKeyId:
          type: string
          format: uuid
    ApiKey:
      type: object
      properties:
        id:
          type: string
          format: uuid
        login:
          type: string
        name:
          maxLength: 80
          minLength: 1
          type: string
        description:
          type: string
        rotationPolicy:
          type: string
        disabled:
          type: boolean
        apiKeyPairs:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/ApiKeyPair'