Apptio Environmentapikey API
Operations for Api Key EnvironmentUsers
Operations for Api Key EnvironmentUsers
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/apptio:apptio-environmentapikey-api"
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.
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: 3.2.0
info:
contact: {}
license: {}
title: Apptio Environmentapikey API
description: Operations for Api Key EnvironmentUsers
tags:
- name: environmentapikey
description: Operations for Api Key EnvironmentUsers
paths:
/api/v2/apikeysaccess/user/{userLoginOrId}:
get:
tags:
- environmentapikey
summary: Gets the APIKey APIKeyAccess for a User
description: 'Gets the APIKeyAccess based on a User Id or login.
Returns:
List For the Specified User
Permissions:
To read the APIKeyAccess for a User, the Logged in User must have permissions to READ the Environment. A User can READ the Environment if they have any Role granted to them onthe Environment or if they have the MSP Admin role on the MSP Provider environment in the parent domain.
Additionally, Frontdoor level permissions allow for READ on the following sets of environments.
- manageEnvironment or readEnvironment allows for READ on any internal non-production Environment
- manageEnvironment or readEnvironment and manageExternal allows for READ on any non-production Environment (internal or external)
- manageEnvironment or readEnvironment and manageProduction allows for READ on any internal Environment (production or non-production)
- manageEnvironment or readEnvironment, manageProduction, and manageExternal allows for READ on any internal, external, or production Environment'
operationId: getApiKeyAccessForUser_1
parameters:
- name: userLoginOrId
in: path
description: Login or UUID of the User
required: true
schema:
maxLength: 80
minLength: 1
type: string
responses:
'200':
description: 'Requested List<APIKeyAccess> '
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyAccess'
'400':
description: Invalid data submitted
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: ApiKey or User not found
/api/v2/apikeysaccess/{apiKeyId}:
get:
tags:
- environmentapikey
summary: Gets the APIKeyAccess based on an Id
description: 'Gets the APIKeyAccess based on an Id.
Returns:
List objects for the specified ApiKey.
Permissions:
A User can READ their own APIKeys''s Access. A User can also read APIKey''s Access for another Users account if they have permissions to UPDATE the User and they can READ the environment or 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.
To read the APIKey''s Access, the Logged in User must have permissions to READ the Environment. A User can READ the Environment if they have any Role granted to them on the Environment.
Additionally, Frontdoor level permissions allow for READ on the following sets of environments.
- manageEnvironment or readEnvironment allows for READ on any internal non-production Environment
- manageEnvironment or readEnvironment and manageExternal allows for READ on any non-production Environment (internal or external)
- manageEnvironment or readEnvironment and manageProduction allows for READ on any internal Environment (production or non-production)
- manageEnvironment or readEnvironment, manageProduction, and manageExternal allows for READ on any internal, external, or production Environment'
operationId: getApiKeyAccessById_1
parameters:
- name: apiKeyId
in: path
description: UUID of the ApiKey
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Requested List<ApiKeyAccess> for APIKey
content:
application/json:
schema:
$ref: '#/components/schemas/ApiKeyAccess'
'400':
description: Invalid data submitted
'403':
description: You don't have the required permissions to perform this operation.
'404':
description: ApiKey OR EnvironmentUser not found
components:
schemas:
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
ApiKeyAccess:
type: object
properties:
environment:
type: string
format: uuid
apiKeyId:
type: string
format: uuid
apiKeyName:
type: string
user:
type: string
defaultRoles:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/Role'
customRoles:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/CustomRole'
customer:
type: string
environmentName:
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
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