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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/apptio:apptio-customrole-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
openapi: 3.2.0
info:
contact: {}
license: {}
title: Apptio Customrole V1 API
description: Operations for CustomRoles
tags:
- name: customrole-v1
description: Operations for CustomRoles
paths:
/api/customroles/{environmentId}:
get:
tags:
- customrole-v1
summary: Get all CustomRoles in an environment
description: 'Gets a list of CustomRoles in the specified Environment.
URL Path Parameters:
environmentId: UUID of the environment to read
Optional Query Parameters:
appTypes: Comma separated list of ApplicationTypes to filter CustomRoles by. Defaults to empty string
Returns:
List of CustomRoles present on the environment
Permissions:
The logged in User must have permissions to READ this environment. A User can READ an Environment if they have the any Role granted to them on that Environment or they have the MSP Admin role on the MSP Provider environment in the parent domain.
Additionally, Frontdoor level permissions allow READ on the following set 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 all Environments'
operationId: getCustomRoles
parameters:
- name: environmentId
in: path
description: UUID of the environment to read
required: true
schema:
type: string
format: uuid
- name: appTypes
in: query
description: Comma separated list of ApplicationTypes to filter CustomRoles by
schema:
$ref: '#/components/schemas/StringSetParam'
responses:
'200':
description: Requested list of CustomRoles
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: Environment not found
/api/customrole:
put:
tags:
- customrole-v1
summary: Update a CustomRole
description: 'Updates a CustomRole in an Environment.
Requires either the CustomRole Name and Environment UUID or the CustomRole UUID to find the CustomRole to update.
Any optional fields that are not specified will not be updated. To clear a field, submit an empty value.
JSON Parameters:
name: (Key 1) Name of the CustomRole
environment: (Key 1) UUID of the environment CustomRole exists on
id: (Key 2) UUID of the CustomRole to
description: (Optional) Description of the CustomRole
permissions: (Optional) JSON array of Permission objects
Returns:
CustomRole object that was updated
Permissions:
To update a CustomRole, the logged in User must have permissions to UPDATE this environment or have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE an Environment if they have the ''manageEnvironment'' permission granted to them on that Environment.
Additionally, Frontdoor level permissions allow UPDATE on the following set 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: updateCustomRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
required: true
responses:
'200':
description: CustomRole Updated
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You don't have the required permissions to perform this operation
'404':
description: CustomRole not found
post:
tags:
- customrole-v1
summary: Create a CustomRole
description: 'Creates a CustomRole in an Environment.
JSON Parameters:
name: Name of the CustomRole
environment: UUID of the environment CustomRole should be created on
id: (Optional) UUID of the CustomRole to create. Defaults to a new randomly generated UUID
description: (Optional) Description of the CustomRole. Defaults to an empty description
permissions: (Optional) JSON array of Permission objects. Defaults to an empty array of Permissions
Returns:
CustomRole object that was created
Constraints:
CustomRole names must be unique within the Environment they are created in
CustomRole names must not match names of default Roles
Permissions:
To create a CustomRole, the logged in User must have permissions to UPDATE this environment or have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE an Environment if they have the ''manageEnvironment'' permission granted to them on that Environment.
Additionally, Frontdoor level permissions allow UPDATE on the following set 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: createCustomRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
required: true
responses:
'201':
description: CustomRole created
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: Environment not found
delete:
tags:
- customrole-v1
summary: Delete a CustomRole
description: 'Deletes a CustomRole from an Environment
Requires either the CustomRole Name and Environment UUID or the CustomRole UUID to find the CustomRole to delete.
JSON Parameters:
name: (Key 1) Name of the CustomRole
environment: (Key 1) UUID of the environment CustomRole exists on
id: (Key 2) UUID of the CustomRole to delete
Constraints:
CustomRole to be deleted must not be granted to any Users.
Permissions:
To delete a CustomRole, the logged in User must have permissions to UPDATE this environment or have the MSP Admin role on the MSP Provider environment in the parent domain. A User can UPDATE an Environment if they have the ''manageEnvironment'' permission granted to them on that Environment.
Additionally, Frontdoor level permissions allow UPDATE on the following set 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: deleteCustomRole
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
required: true
responses:
'204':
description: CustomRole deleted
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: CustomRole not found
/api/customrole/{environmentId}/{name}:
get:
tags:
- customrole-v1
summary: Get CustomRole by name in an environment
description: 'Gets the CustomRole with the specified name in the specified Environment.
URL Path Parameters:
environmentId: UUID of the environment to read
name: Name of the CustomRole to retrieve
Returns:
CustomRole object found
Permissions:
The logged in User must have permissions to READ this environment. A User can READ an Environment if they have the any Role granted to them on that Environment or they have the MSP Admin role on the MSP Provider environment in the parent domain.
Additionally, Frontdoor level permissions allow READ on the following set 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 all Environments'
operationId: getCustomRole
parameters:
- name: environmentId
in: path
description: UUID of the environment to read
required: true
schema:
type: string
format: uuid
- name: name
in: path
description: Name of the CustomRole to retrieve
required: true
schema:
maxLength: 50
minLength: 1
type: string
responses:
'200':
description: Requested CustomRole found
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: CustomRole not found
/api/customrole/{roleId}:
get:
tags:
- customrole-v1
summary: Get CustomRole by Id
description: 'Gets the CustomRole with the specified Id.
URL Path Parameters:
roleId: UUID of the CustomRole to retrieve
Returns:
CustomRole object found
Permissions:
The logged in User must have permissions to READ the environment or have the MSP Admin role on the MSP Provider environment in the parent domain. A User can READ an Environmentif they have the any Role granted to them on that Environment.
Additionally, Frontdoor level permissions allow READ on the following set 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 all Environments'
operationId: getCustomRoleById
parameters:
- name: roleId
in: path
description: UUID of the CustomRole to retrieve
required: true
schema:
type: string
format: uuid
responses:
'200':
description: Requested CustomRole found
content:
application/json:
schema:
$ref: '#/components/schemas/CustomRole'
'400':
description: Invalid data submitted
'403':
description: You do not have the required permissions to perform this operation
'404':
description: CustomRole 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
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
StringSetParam:
type: object