DevArmor API Tokens API

The api-tokens API from DevArmor — 2 operation(s) for api-tokens.

Operations 3

GET /api-tokens List API tokens for the current user #
POST /api-tokens Create a new API token #
DELETE /api-tokens/{token_id} Delete an API 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/devarmor:devarmor-api-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

devarmor-api-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: DevArmor Security Reviews API Tokens API
  version: 1.14.0
tags:
- name: API Tokens
paths:
  /api-tokens:
    get:
      tags:
      - API Tokens
      summary: List API tokens for the current user
      operationId: list_api_tokens
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiToken'
                type: array
                title: Response List Api Tokens
      security:
      - APIGatewayAuth: []
    post:
      tags:
      - API Tokens
      summary: Create a new API token
      operationId: create_api_token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApiTokenCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiTokenCreateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIGatewayAuth: []
  /api-tokens/{token_id}:
    delete:
      tags:
      - API Tokens
      summary: Delete an API token
      operationId: delete_api_token
      security:
      - APIGatewayAuth: []
      parameters:
      - name: token_id
        in: path
        required: true
        schema:
          type: integer
          title: Token Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UserRole:
      type: string
      enum:
      - admin
      - customer_support
      title: UserRole
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    User:
      properties:
        email:
          type: string
          title: Email
        name:
          type: string
          title: Name
        state:
          $ref: '#/components/schemas/UserState'
          default: active
        roles:
          items:
            $ref: '#/components/schemas/UserRole'
          type: array
          title: Roles
          default: []
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
      type: object
      required:
      - email
      - name
      - id
      title: User
    ApiTokenCreateResponse:
      properties:
        title:
          type: string
          title: Title
        expires_at:
          type: string
          format: date
          title: Expires At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
        user:
          $ref: '#/components/schemas/User'
        token:
          type: string
          title: Token
        is_expired:
          type: boolean
          title: Is Expired
          readOnly: true
      type: object
      required:
      - title
      - expires_at
      - id
      - user
      - token
      - is_expired
      title: ApiTokenCreateResponse
    ApiToken:
      properties:
        title:
          type: string
          title: Title
        expires_at:
          type: string
          format: date
          title: Expires At
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        id:
          type: integer
          title: Id
        user:
          $ref: '#/components/schemas/User'
        is_expired:
          type: boolean
          title: Is Expired
          readOnly: true
      type: object
      required:
      - title
      - expires_at
      - id
      - user
      - is_expired
      title: ApiToken
    ApiTokenCreate:
      properties:
        title:
          type: string
          title: Title
        expires_at:
          type: string
          format: date
          title: Expires At
      type: object
      required:
      - title
      - expires_at
      title: ApiTokenCreate
    UserState:
      type: string
      enum:
      - active
      - inactive
      - pending_org_approval
      title: UserState
  securitySchemes:
    APIGatewayAuth:
      type: http
      scheme: bearer