Apptio Environmentapplication V1 API

Operations for EnvironmentApplications

GitHub OpenAPI

Operations 8

GET /api/environmentapplication/endpoints/{envAppId} Gets all ApplicationEndpoints for an EnvironmentApplication #
PUT /api/environmentapplication/endpoint Update an ApplicationEndpoint #
POST /api/environmentapplication/endpoint Create an ApplicationEndpoint #
DELETE /api/environmentapplication/endpoint Delete an ApplicationEndpoint #
PUT /api/environmentapplication/application/{id} Entitles an Application to an Environment #
DELETE /api/environmentapplication/application/{id} Removes an Application from an Environment #
GET /api/environmentapplication/endpoint/{id} Get an ApplicationEndpoint #
DELETE /api/environmentapplication/safe/application/{envId} Safely unentitle an application and remove unused environments, customers, and… #

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-environmentapplication-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-environmentapplication-v1-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact: {}
  license: {}
  title: Apptio Environmentapplication V1 API
  description: Operations for EnvironmentApplications
tags:
- name: environmentapplication-v1
  description: Operations for EnvironmentApplications
paths:
  /api/environmentapplication/endpoints/{envAppId}:
    get:
      tags:
      - environmentapplication-v1
      summary: Gets all ApplicationEndpoints for an EnvironmentApplication
      description: 'Gets a list of ApplicationEndpoints for the specified EnvironmentApplication.


        URL Path Parameters:

        envAppId: The ID of EnvironmentApplication


        Returns:

        List of ApplicationEndpoints found for the EnvironmentApplication


        Permissions:

        The logged in User must have permissions to READ this ApplicationEndpoint. A User can READ an ApplicationEndpoint if they have the a Role granted to them on the Environment that the ApplicationEndpoint belongs to or if they have the MSP Admin role on the MSP Provider environment in the parent domain.

        Additionally, Frontdoor level permissions allow for READ of application Endpoints the following sets of environments.

        - manageEndpoint allows for READ on any internal non-production Environment

        - manageEndpoint and manageExternal allows for READ on any non-production Environment (internal or external)

        - manageEndpoint and manageProduction allows for READ on any internal Environment (production or non-production)

        - manageEndpoint, manageExternal and manageProduction allows for UPDATE on all Environments'
      operationId: getApplicationEndpoints
      parameters:
      - name: envAppId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Requested list of ApplicationEndpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEndpoint'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/environmentapplication/endpoint:
    put:
      tags:
      - environmentapplication-v1
      summary: Update an ApplicationEndpoint
      description: 'Updates an ApplicationEndpoint

        To clear a field, submit an empty value


        JSON Parameters:

        id: (Key) the ID of ApplicationEndpoint

        url: (optional) The url of the ApplicationEndpoint

        name: (optional) The name of the ApplicationEndpoint

        sequence: (optional) The sequence number of the endpoint, used for ordering when drawing the Navigation dropdown

        visibleRoles: (optional) A set of Roles that filter which Users can see this ApplicationEndpoint


        Returns:

        Updated ApplicationEndpoint Object


        Permissions:

        To update an ApplicationEndpoint, the logged in User must have the ''manageEndpoint'' permission granted to them on the Environment or they must have the MSP Admin role on the MSP Provider environment in the parent domain.

        Additionally, Frontdoor level permissions allow for UPDATE of application Endpoints the following sets of environments.

        - manageEndpoint allows for UPDATE on any internal non-production Environment

        - manageEndpoint and manageExternal allows for UPDATE on any non-production Environment (internal or external)

        - manageEndpoint and manageProduction allows for UPDATE on any internal Environment (production or non-production)

        - manageEndpoint, manageExternal and manageProduction allows for UPDATE on all Environments'
      operationId: updateApplicationEndpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationEndpoint'
        required: true
      responses:
        '200':
          description: ApplicationEndpoint updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEndpoint'
        '400':
          description: Invalid data submitted
        '404':
          description: ApplicationEndpoint specified does not exist
        '403':
          description: You don't have the required permissions to perform this operation.
    post:
      tags:
      - environmentapplication-v1
      summary: Create an ApplicationEndpoint
      description: 'Creates an ApplicationEndpoint in an Environment, these are user created url''s off of a base application used in Flagship

        Requires either the environment_application_id or application_id and environment_id to be specified to find the endpoint


        JSON Parameters:

        environment_application_id: (Key 1) The ID of the EnvironmentApplication this ApplicationEndpoint will belong too

        application_id: (Key 2) The ID of the Application, used to find the correct EnvironmentApplication

        environment_id: (Key 2) The ID of the Environment to search for the EnvironmentApplication in

        url: The url of the ApplicationEndpoint

        name: The name of the ApplicationEndpoint

        sequence: (optional) The sequence number of the endpoint, used for ordering when drawing the Navigation dropdown

        visibleRoles: (optional) A set of Roles that filter which Users can see this ApplicationEndpoint


        Returns:

        Created ApplicationEndpoint Object


        Permissions:

        To create an ApplicationEndpoint, the logged in User must have the ''manageEndpoint'' permission granted to them on the Environment or they must have the MSP Admin role on the MSP Provider environment in the parent domain.

        Additionally, Frontdoor level permissions allow for CREATE of application Endpoints the following sets of environments.

        - manageEndpoint allows for CREATE on any internal non-production Environment

        - manageEndpoint and manageExternal allows for CREATE on any non-production Environment (internal or external)

        - manageEndpoint and manageProduction allows for CREATE on any internal Environment (production or non-production)

        - manageEndpoint, manageExternal and manageProduction allows for CREATE on all Environments'
      operationId: createApplicationEndpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationEndpoint'
        required: true
      responses:
        '201':
          description: ApplicationEndpoint created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEndpoint'
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
    delete:
      tags:
      - environmentapplication-v1
      summary: Delete an ApplicationEndpoint
      description: 'Deletes an ApplicationEndpoint from an Environment


        JSON Parameters:

        id: (Key) the ID of ApplicationEndpoint


        Permissions:

        To delete an ApplicationEndpoint, the logged in User must have the ''manageEndpoint'' permission granted to them on the Environment or they must have the MSP Admin role on the MSP Provider environment in the parent domain.

        Additionally, Frontdoor level permissions allow for DELETE of application Endpoints the following sets of environments.

        - manageEndpoint allows for DELETE on any internal non-production Environment

        - manageEndpoint and manageExternal allows for DELETE on any non-production Environment (internal or external)

        - manageEndpoint and manageProduction allows for DELETE on any internal Environment (production or non-production)

        - manageEndpoint, manageExternal and manageProduction allows for DELETE on all Environments'
      operationId: deleteApplicationEndpoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationEndpoint'
        required: true
      responses:
        '204':
          description: ApplicationEndpoint deleted
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
        '404':
          description: ApplicationEndpoint specified does not exist
  /api/environmentapplication/application/{id}:
    put:
      tags:
      - environmentapplication-v1
      summary: Entitles an Application to an Environment
      description: 'Entitles an Application to an Environment


        URL Path Parameters:

        id: The Environment ID to entitle the Environment to


        JSON Parameters:

        id: (Key) the ID of the Application


        Returns:

        Updated Environment Object


        Constraints:

        The Customer of the Environment must be entitled to the Application


        Permissions:

        To entitle an Application, the logged in User must have permissions to UPDATE this environment. A User can UPDATE an Environment if they have the ''manageEnvironment'' permission granted to them on that Environment.

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

        - manageEnvironment allows for UPDATE on any internal non-production Environment

        - manageEnvironment and manageExternal allows for UPDATE on any non-production Environment (internal or external)

        - manageEnvironment and manageProduction allows for UPDATE on any internal Environment (production or non-production)

        - manageEnvironment, manageExternal and manageProduction allows for UPDATE on all Environments'
      operationId: entitleApplication
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationEntitlement'
      responses:
        '200':
          description: Application entitled to Environment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Environment'
        '400':
          description: Invalid data submitted
        '404':
          description: Environment NOT found
        '403':
          description: You don't have the required permissions to perform this operation. If you are trying to entitle an application, make sure the customer is entitled to that application first.
    delete:
      tags:
      - environmentapplication-v1
      summary: Removes an Application from an Environment
      description: 'Removes an Application from an Environment


        URL Path Parameters:

        id: The Environment ID


        JSON Parameters:

        id: (Key) the Application ID to un-entitle from the Environment


        Returns:

        Updated Environment Object


        Permissions:

        To unentitle an Application, the logged in User must have permissions to UPDATE this environment. A User can UPDATE an Environment if they have the ''manageEnvironment'' permission granted to them on that Environment.

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

        - manageEnvironment allows for UPDATE on any internal non-production Environment

        - manageEnvironment and manageExternal allows for UPDATE on any non-production Environment (internal or external)

        - manageEnvironment and manageProduction allows for UPDATE on any internal Environment (production or non-production)

        - manageEnvironment, manageExternal and manageProduction allows for UPDATE on all Environments'
      operationId: unEntitleApplication
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Id'
      responses:
        '200':
          description: Application entitlement to Environment removed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Environment'
        '400':
          description: Invalid data submitted
        '404':
          description: Environment NOT found
        '403':
          description: You don't have the required permissions to perform this operation. If you are trying to entitle an application, make sure the customer is entitled to that application first.
  /api/environmentapplication/endpoint/{id}:
    get:
      tags:
      - environmentapplication-v1
      summary: Get an ApplicationEndpoint
      description: 'Gets an ApplicationEndpoint


        URL Path Parameters:

        id: The ID of ApplicationEndpoint


        Returns:

        ApplicationEndpoint object found


        Permissions:

        The logged in User must have permissions to READ this ApplicationEndpoint or they must have the MSP Admin role on the MSP Provider environment in the parent domain. A User can READ an ApplicationEndpoint if they have the a Role granted to them on the Environment that the ApplicationEndpoint belongs to.

        Additionally, Frontdoor level permissions allow for READ of application Endpoints the following sets of environments.

        - manageEndpoint allows for READ on any internal non-production Environment

        - manageEndpoint and manageExternal allows for READ on any non-production Environment (internal or external)

        - manageEndpoint and manageProduction allows for READ on any internal Environment (production or non-production)

        - manageEndpoint, manageExternal and manageProduction allows for READ on all Environments'
      operationId: getApplicationEndpoint
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Requested ApplicationEndpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEndpoint'
        '400':
          description: Invalid data submitted
        '404':
          description: Requested ApplicationEndpoint NOT found
        '403':
          description: You don't have the required permissions to perform this operation.
  /api/environmentapplication/safe/application/{envId}:
    delete:
      tags:
      - environmentapplication-v1
      summary: Safely unentitle an application and remove unused environments, customers, and…
      description: 'Safely unentitles the given application from the given environment.

        If safe, also removes environment users, the environment, the customer, users, and the customer''s domain.

        EnvironmentUsers and Environment are considered safe to remove if the Environment has no further applications.

        Customer is considered safe to remove there are no remaining environments.

        Domain is considered safe to remove if its Users have no roles and there are no further customers.

        MSP provider domains will no longer be linked as parent domains to MSP consumer domains.


        URL Path Parameters:

        envId: The ID of Environment


        JSON Parameters:

        id: (Key) UUID of the Application to unentitle from the Environment

        Permissions:

        The logged in User must have the MANAGE_PROVISIONING_DATA permission in the frontdoor environment to perform this operation.

        Additionally, Frontdoor level permissions allow for further uses of this API.

        - manageExternal allows for usage of this API on external environments.

        - manageProduction allows for usage of this API on production environments.'
      operationId: safeUnentitleApplication
      parameters:
      - name: envId
        in: path
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Id'
        required: true
      responses:
        '200':
          description: Some safe deletes occurred
        '400':
          description: Invalid data submitted
        '403':
          description: You don't have the required permissions to perform this operation.
components:
  schemas:
    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
    ApplicationEndpointGroup:
      required:
      - environmentId
      - id
      - name
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          maxLength: 80
          minLength: 1
          type: string
        description:
          type: string
        environmentId:
          type: string
          format: uuid
    EnvironmentApplication:
      type: object
      properties:
        internalName:
          type: string
        applicationEntitlementStatus:
          type: string
        id:
          type: string
          format: uuid
        applicationId:
          type: string
          format: uuid
        name:
          maxLength: 80
          minLength: 1
          type: string
        description:
          type: string
        url:
          type: string
        hidden:
          type: boolean
        applicationType:
          type: string
        applicationEndpoints:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/ApplicationEndpoint'
        endpointGroup:
          $ref: '#/components/schemas/ApplicationEndpointGroup'
        entitlement_status:
          type: string
        provisioningMetadata:
          type: object
          additionalProperties:
            type: string
        hideNoAccess:
          type: boolean
        softDeleteDate:
          type: string
          format: date-time
        features:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Feature'
    Id:
      required:
      - id
      type: object
      properties:
        id:
          type: string
    CustomRole:
      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
        environment:
          type: string
          format: uuid
    Environment:
      type: object
      properties:
        updatedBy:
          type: string
        id:
          type: string
          format: uuid
        name:
          maxLength: 80
          minLength: 1
          type: string
        applications:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/EnvironmentApplication'
        customRoles:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/CustomRole'
        customer:
          type: string
        createdBy:
          type: string
        external:
          type: boolean
        production:
          type: boolean
        ignoreDomainDefaultRole:
          type: boolean
        endpointGroups:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/ApplicationEndpointGroup'
        environment_category:
          type: string
        category:
          type: string
        supportedLangs:
          uniqueItems: true
          type: array
          readOnly: true
          items:
            type: string
        lastAccessed:
          type: string
          format: date-time
        oauthEnabled:
          type: boolean
        preventAuthorizedAccess:
          type: boolean
    Feature:
      required:
      - name
      type: object
      properties:
        name:
          maxLength: 80
          minLength: 1
          type: string
        applicationTypes:
          uniqueItems: true
          type: array
          items:
            type: string
    ApplicationEndpoint:
      type: object
      properties:
        visibleDefaultRoles:
          uniqueItems: true
          type: array
          writeOnly: true
          items:
            $ref: '#/components/schemas/Role'
        visibleCustomRoles:
          uniqueItems: true
          type: array
          writeOnly: true
          items:
            $ref: '#/components/schemas/CustomRole'
        id:
          type: string
          format: uuid
        url:
          type: string
        name:
          maxLength: 80
          minLength: 1
          type: string
        environment_application_id:
          type: string
          format: uuid
        environment_id:
          type: string
          format: uuid
        application_id:
          type: string
          format: uuid
        sequence:
          type: integer
          format: int32
        visibleRoles:
          uniqueItems: true
          type: array
          items:
            type: string
        hiddenFromNav:
          type: boolean
        endpointGroup:
          $ref: '#/components/schemas/ApplicationEndpointGroup'
    ApplicationEntitlement:
      required:
      - id
      type: object
      properties:
        status:
          type: string
        id:
          type: string
          format: uuid
        environment:
          type: string
          format: uuid
        entitlement_status:
          type: string
        hidden:
          type: boolean
        provisioningMetadata:
          type: object
          additionalProperties:
            type: string
        features:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/Feature'
    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