Red Hat 3scale Access Tokens API

The Access Tokens API from Red Hat 3scale — 3 operation(s) for access tokens.

GitHub OpenAPI

Operations 5

POST /admin/api/users/{user_id}/access_tokens.json Access Token Create #
GET /admin/api/personal/access_tokens.json Personal Access Token List #
POST /admin/api/personal/access_tokens.json Personal Access Token Create #
GET /admin/api/personal/access_tokens/{id}.json Personal Access Token Read #
DELETE /admin/api/personal/access_tokens/{id}.json Personal Access Token Delete #

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/red-hat-3scale:red-hat-3scale-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. 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

red-hat-3scale-access-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Access Tokens API
  version: '1.0'
  description: 'Operations tagged Access Tokens across 2 of this provider''s published API definitions: red-hat-3scale-porta-account_management_api.json, red-hat-3scale-account-management-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://{tenant}-admin.3scale.net
  description: 3scale SaaS host (tenant admin portal for {tenant}); on-premises deployments use their own admin host
  variables:
    tenant:
      default: example
tags:
- name: Access Tokens
paths:
  /admin/api/users/{user_id}/access_tokens.json:
    post:
      summary: Access Token Create
      description: '[Deprecated API] Use "Personal Access Tokens Create". Creates an access token. Make sure to copy your new personal access token now. You will not be able to see it again as it is not stored for security reasons.'
      tags:
      - Access Tokens
      parameters:
      - name: user_id
        in: path
        description: ID of the user.
        x-data-threescale-name: admin_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                name:
                  type: string
                  description: Name of the access token.
                permission:
                  type: string
                  description: Permission of the access token. It must be either 'ro' (read only) or 'rw' (read and write).
                  enum:
                  - ro
                  - rw
                scopes[]:
                  type: array
                  description: Scope of the access token. URL-encoded array containing one or more of the possible values. The possible values are, for a master user ["account_management", "stats"], and for a tenant user ["finance", "account_management", "stats", "cms", "policy_registry"]
                  items:
                    type: string
                    enum:
                    - account_management
                    - stats
                    - finance
                    - cms
                    - policy_registry
                expires_at:
                  type: string
                  format: date-time
                  description: Expiration time of the access token. In ISO 8601 format
                  example: '2030-01-01T12:00:00Z'
              required:
              - access_token
              - permission
              - name
              - scopes[]
            encoding:
              scopes[]:
                contentType: application/x-www-form-urlencoded
                style: form
                explode: true
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiUsersByUserIdAccessTokensJson
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/personal/access_tokens.json:
    get:
      summary: Personal Access Token List
      description: Returns the list of access tokens of the user. If the parameter name is sent, it returns only those whose name contain the string of the param
      tags:
      - Access Tokens
      parameters:
      - name: name
        in: query
        description: Part of the name of the access token.
        schema:
          type: string
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiPersonalAccessTokensJson
      x-operation-id-source: derived
    post:
      summary: Personal Access Token Create
      description: Creates an access token. Make sure to copy your new personal access token now. You will not be able to see it again as it is not stored for security reasons.
      tags:
      - Access Tokens
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                access_token:
                  type: string
                  description: A personal Access Token.
                name:
                  type: string
                  description: Name of the access token.
                permission:
                  type: string
                  description: Permission of the access token. It must be either 'ro' (read only) or 'rw' (read and write).
                  enum:
                  - ro
                  - rw
                scopes[]:
                  type: array
                  description: Scope of the access token. URL-encoded array containing one or more of the possible values. The possible values are, for a master user ["account_management", "stats", "policy_registry"], and for a tenant user ["finance", "account_management", "stats", "policy_registry", "cms"]
                  items:
                    type: string
                    enum:
                    - account_management
                    - stats
                    - finance
                    - cms
                    - policy_registry
                expires_at:
                  type: string
                  format: date-time
                  description: Expiration time of the access token. In ISO 8601 format
                  example: '2030-01-01T12:00:00Z'
              required:
              - access_token
              - name
              - permission
              - scopes[]
            encoding:
              scopes[]:
                style: form
                explode: true
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiPersonalAccessTokensJson
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/personal/access_tokens/{id}.json:
    get:
      summary: Personal Access Token Read
      description: Shows an access token.
      tags:
      - Access Tokens
      parameters:
      - name: id
        in: path
        description: ID or value of the access token.
        required: true
        schema:
          type: integer
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiPersonalAccessTokens{id}Json
      x-operation-id-source: derived
    delete:
      summary: Personal Access Token Delete
      description: Deletes an access token.
      tags:
      - Access Tokens
      parameters:
      - name: id
        in: path
        description: ID or value of the access token.
        required: true
        schema:
          type: integer
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiPersonalAccessTokens{id}Json
      x-operation-id-source: derived
    servers:
    - url: /
x-refined-from:
- red-hat-3scale-porta-account_management_api.json
- red-hat-3scale-account-management-openapi.yml