Apptio service account API

Operations for service accounts

GitHub OpenAPI

Operations 10

PUT /api/v2/service Update a Service #
POST /api/v2/service Creates a Service #
DELETE /api/v2/service Delete a Service #
GET /api/v2/export/service/{id} Export the Service with specified ID #
GET /api/v2/service/{nameOrId} Get the Service with specified ID #
GET /api/v2/services Get a list of all Services #
GET /api/v2/services/{name} Get the Services containing specified name #
PUT /api/v2/import/service Import Service #
PUT /api/v2/synchronize/service Synchronize Service #
GET /api/v2/service/validate/{id} Validate that service account has all fields created properly #

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-service-account-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-service-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  license: {}
  title: Apptio service account API
  description: Operations for service accounts
tags:
- name: service account
  description: Operations for service accounts
paths:
  /api/v2/service:
    put:
      tags:
      - service account
      summary: Update a Service
      description: 'Updates a Service


        Returns:

        Service object updated.


        JSON Parameters:

        id: Id of the Service to be updated

        name: Name of the Service

        contactEmail: Email address of the team that owns the Service. Must end in @apptio.com or @ibm.com

        permissions: (Optional) JSON array of Permission objects. Defaults to an empty array of Permissions

        active: (Optional) Boolean flag to specify if the Service is active. Defaults to true


        Constraints:

        Service names must be unique


        Permissions:

        To UPDATE Services, the logged in user must have manageRole on the Frontdoor environment.'
      operationId: updateService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Service'
        required: true
      responses:
        '200':
          description: Service updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: Service specified does not exist
    post:
      tags:
      - service account
      summary: Creates a Service
      description: 'Creates a Service


        Returns:

        Service object created.


        JSON Parameters:

        name: Name of the Service

        contactEmail: Email address of the team that owns the Service. Must end in @apptio.com or @ibm.com

        permissions: (Optional) JSON array of Permission objects. Defaults to an empty array of Permissions

        grantableRoles: (Optional) JSON array of roles with a grantable by restriction this service may grant. The only required field on creation is the role name names this service may grant. Defaults to an empty array of string. Additionally, the logged user must have at a minimum manageEnvironment and manageEnvironmentAccess permissions

        active: (Optional) Boolean flag to specify if the Service is active. Defaults to true


        Constraints:

        Service names must be unique


        Permissions:

        To CREATE Services, the logged in user must have manageRole on the Frontdoor environment.'
      operationId: createService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Service'
        required: true
      responses:
        '201':
          description: Service created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '403':
          description: You don't have the required permissions to perform this operation.
    delete:
      tags:
      - service account
      summary: Delete a Service
      description: 'Deletes a Service


        JSON Parameters:

        id: id of the Service being deleted

        Permissions:

        To DELETE Services, the logged in user must have manageRole on the Frontdoor environment.In preprod, the logged in user can instead have FDAppEngineer on the Frontdoor environment but must be a member of a bluegroup for the service''s application type if one is set.'
      operationId: deleteService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Service'
        required: true
      responses:
        '204':
          description: Service deleted
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '404':
          description: Service specified does not exist
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/export/service/{id}:
    get:
      tags:
      - service account
      summary: Export the Service with specified ID
      description: 'Export the Service with specified ID


        URL Path Parameters:

        id: id of the Service to export


        Returns:

        Service object found as a json file.


        Permissions:

        To READ Services, the logged in user must be an Apptian.'
      operationId: exportService
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Requested Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '404':
          description: Requested Service NOT found
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/service/{nameOrId}:
    get:
      tags:
      - service account
      summary: Get the Service with specified ID
      description: 'Get the Service with specified ID


        URL Path Parameters:

        id: id of the Service to retrieve


        Returns:

        Service object found.


        Permissions:

        To READ Services, the logged in user must be an Apptian.'
      operationId: getService
      parameters:
      - name: nameOrId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Requested Service
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '404':
          description: Requested Service NOT found
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/services:
    get:
      tags:
      - service account
      summary: Get a list of all Services
      description: 'Get a list of all Services


        Returns:

        List of all Services.


        Permissions:

        To READ Services, the logged in user must be an Apptian.'
      operationId: getServices
      responses:
        '200':
          description: List of all Services
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '401':
          description: Token expired or invalid
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/services/{name}:
    get:
      tags:
      - service account
      summary: Get the Services containing specified name
      description: 'Get the Services containing specified name


        URL Path Parameters:

        name: name of the Service to retrieve


        Returns:

        Service objects found.


        Permissions:

        To READ Services, the logged in user must be an Apptian.'
      operationId: getServices_1
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Requested Services
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '401':
          description: Token expired or invalid
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/import/service:
    put:
      tags:
      - service account
      summary: Import Service
      description: 'Import Service. Creates or updates Service. Used with the output of /api/v2/export/service/{id}


        Returns:

        The service account object created or updated (or what would be created/updated if dryRun is true)


        URL Path Parameters:

        dryRun: id of the Service to export


        Permissions:

        To globally create or update a Service, the logged in user must have manageRole on the Frontdoor environmentand be a member of the blue group that is associated with the service''s application type as well as the application types of the service''s permissions.'
      operationId: importService
      parameters:
      - name: dryRun
        in: query
        schema:
          type: string
          default: 'FALSE'
          enum:
          - 'FALSE'
          - 'TRUE'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Service'
        required: true
      responses:
        '201':
          description: Service imported or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/synchronize/service:
    put:
      tags:
      - service account
      summary: Synchronize Service
      description: 'Synchronize Service. Calls PUT api/v2/service on each configured Frontdoor instance.

        Returns:

        The api response from each Frontdoor instance


        JSON Parameters:

        id: Id of the Service to be updated

        name: Name of the Service

        contactEmail: Email address of the team that owns the Service. Must end in @apptio.com or @ibm.com

        permissions: (Optional) JSON array of Permission objects. Defaults to an empty array of Permissions

        active: (Optional) Boolean flag to specify if the Service is active. Defaults to true


        Permissions:

        To globally create or update a Service, the logged in user must have manageRole on the Frontdoor environmentand be a member of the blue group that is associated with the service''s application type as well as the application types of the service''s permissions.'
      operationId: synchronizeService
      parameters:
      - name: dryRun
        in: query
        schema:
          type: string
          default: 'FALSE'
          enum:
          - 'FALSE'
          - 'TRUE'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Service'
        required: true
      responses:
        '201':
          description: Service created or updated across synchronization regions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Service'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/v2/service/validate/{id}:
    get:
      tags:
      - service account
      summary: Validate that service account has all fields created properly
      description: 'Validate that the Service with specified ID is created correctly


        URL Path Parameters:

        id: id of the Service to validate


        Returns:

        ServiceAccountValidationResult object containing information about the validation of service account fields


        Permissions:

        To READ Services, the logged in user must be an Apptian.'
      operationId: validateServiceAccount
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Service validation results returned successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceAccountValidationResult'
        '401':
          description: Token expired or invalid
        '404':
          description: Requested Service NOT found
        '403':
          description: You don't have the required permissions to perform this operation.
components:
  schemas:
    Service:
      required:
      - contactEmail
      - id
      - name
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          maxLength: 25
          minLength: 1
          type: string
        permissions:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        grantableRoles:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Role'
        contactEmail:
          type: string
        active:
          type: boolean
        applicationType:
          type: string
        namespace:
          type: string
        prodK8sServiceAccountName:
          type: string
        regions:
          uniqueItems: true
          type: array
          items:
            type: string
    Role:
      required:
      - name
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          maxLength: 50
          minLength: 1
          type: string
        permissions:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        description:
          type: string
        external:
          type: boolean
        grantable_by:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Role'
        role_filtering:
          type: string
        roleAlwaysShown:
          type: boolean
        applicationTypes:
          uniqueItems: true
          type: array
          items:
            type: string
        oauthSupportedScope:
          type: string
          enum:
          - ROLE_ONLY
          - ROLE_AND_SCOPE
    ServiceAccountValidation:
      type: object
      properties:
        validationCriteron:
          type: string
        validationResult:
          type: boolean
        validationWarning:
          type: string
        validationResultMessage:
          type: string
    ServiceAccountValidationResult:
      type: object
      properties:
        usesServiceIdentities:
          type: boolean
        usesServiceAccessKeys:
          type: boolean
        results:
          type: array
          items:
            $ref: '#/components/schemas/ServiceAccountValidation'
        validConfiguration:
          type: boolean
    Permission:
      type: object
      properties:
        validBefore:
          type: string
        name:
          maxLength: 80
          minLength: 1
          type: string
        description:
          type: string
        validFrom:
          type: string
        applicationTypes:
          uniqueItems: true
          type: array
          items:
            type: string
        external:
          type: boolean
        defaultRoleOnly:
          type: boolean