Amazon CodeCatalyst Access Tokens API

The Access Tokens API from Amazon CodeCatalyst — 2 operation(s) for access tokens.

GitHub OpenAPI

Operations 3

PUT /v1/accessTokens Create Access Token #
POST /v1/accessTokens List Access Tokens #
DELETE /v1/accessTokens/{id} Delete Access Token #

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/amazon-codecatalyst:amazon-codecatalyst-access-tokens-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-codecatalyst-access-tokens-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon CodeCatalyst Access Tokens API
  version: '2022-09-28'
  description: Generated from AWS's published Smithy model for Amazon CodeCatalyst. 3 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://codecatalyst.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v1/accessTokens:
    put:
      operationId: CreateAccessToken
      summary: Create Access Token
      description: Creates a personal access token (PAT) for the current user. A personal access token (PAT) is similar to
        a password. It is associated with your user identity for use across all spaces and projects in Amazon CodeCatalyst.
        You use PATs to access CodeCatalyst from resources that include integrated development environments (IDEs) and Git-based
        source repositories. PATs represent you in Amazon CodeCatalyst and you can manage them in your user settings.For more
        information, see Managing personal access tokens in Amazon CodeCatalyst.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateAccessTokenResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAccessTokenRequest'
      tags:
      - Access Tokens
    post:
      operationId: ListAccessTokens
      summary: List Access Tokens
      description: Lists all personal access tokens (PATs) associated with the user who calls the API. You can only list PATs
        associated with your Amazon Web Services Builder ID.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAccessTokensResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListAccessTokensRequest'
      tags:
      - Access Tokens
  /v1/accessTokens/{id}:
    delete:
      operationId: DeleteAccessToken
      summary: Delete Access Token
      description: Deletes a specified personal access token (PAT). A personal access token can only be deleted by the user
        who created it.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAccessTokenResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteAccessTokenRequest'
      tags:
      - Access Tokens
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: codecatalyst
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    AccessTokenSummary:
      type: object
      properties:
        id:
          type: string
          description: The system-generated ID of the personal access token.
        name:
          type: string
          description: The friendly name of the personal access token.
        expiresTime:
          type: string
          format: date-time
          description: The date and time when the personal access token will expire, in coordinated universal time (UTC) timestamp
            format as specified in RFC 3339.
      required:
      - id
      - name
    ConflictException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    CreateAccessTokenRequest:
      type: object
      properties:
        name:
          type: string
          description: The friendly name of the personal access token.
        expiresTime:
          type: string
          format: date-time
          description: The date and time the personal access token expires, in coordinated universal time (UTC) timestamp
            format as specified in RFC 3339.
      required:
      - name
    CreateAccessTokenResponse:
      type: object
      properties:
        secret:
          type: string
          description: The secret value of the personal access token.
        name:
          type: string
          description: The friendly name of the personal access token.
        expiresTime:
          type: string
          format: date-time
          description: The date and time the personal access token expires, in coordinated universal time (UTC) timestamp
            format as specified in RFC 3339. If not specified, the default is one year from creation.
        accessTokenId:
          type: string
          description: The system-generated unique ID of the access token.
      required:
      - secret
      - name
      - expiresTime
      - accessTokenId
    DeleteAccessTokenRequest:
      type: object
      properties:
        id:
          type: string
          description: The ID of the personal access token to delete. You can find the IDs of all PATs associated with your
            Amazon Web Services Builder ID in a space by calling ListAccessTokens.
      required:
      - id
    DeleteAccessTokenResponse:
      type: object
      properties: {}
    ListAccessTokensRequest:
      type: object
      properties:
        maxResults:
          type: integer
          description: The maximum number of results to show in a single call to this API. If the number of results is larger
            than the number you specified, the response will include a NextToken element, which you can use to obtain additional
            results.
        nextToken:
          type: string
          description: A token returned from a call to this API to indicate the next batch of results to return, if any.
    ListAccessTokensResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/AccessTokenSummary'
          description: A list of personal access tokens (PATs) associated with the calling user identity.
        nextToken:
          type: string
          description: A token returned from a call to this API to indicate the next batch of results to return, if any.
      required:
      - items
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    ValidationException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/codecatalyst/service/2022-09-28/codecatalyst-2022-09-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)