Red Hat 3scale Service Plans API

The Service Plans API from Red Hat 3scale — 6 operation(s) for service plans.

GitHub OpenAPI

Operations 10

GET /admin/api/service_plans.xml Service Plan List (all services) #
GET /admin/api/service_plans/{service_plan_id}/features.xml Service Plan Feature List #
POST /admin/api/service_plans/{service_plan_id}/features.xml Service Plan Feature Enable #
DELETE /admin/api/service_plans/{service_plan_id}/features/{id}.xml Service Plan Feature Disable #
GET /admin/api/services/{id}/service_plans.xml Service Plan List #
POST /admin/api/services/{id}/service_plans.xml Service Plan Create #
GET /admin/api/services/{service_id}/service_plans/{id}.xml Service Plan Read #
PUT /admin/api/services/{service_id}/service_plans/{id}.xml Service Plan Update #
DELETE /admin/api/services/{service_id}/service_plans/{id}.xml Service Plan Delete #
PUT /admin/api/services/{service_id}/service_plans/{id}/default.xml Service Plan Set to Default #

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-service-plans-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-service-plans-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Service Plans API
  version: '1.0'
  description: 'Operations tagged Service Plans 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: Service Plans
paths:
  /admin/api/service_plans.xml:
    get:
      summary: Service Plan List (all services)
      description: Returns a list of all service plans for all services. Note that service plans are scoped by service.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicePlansXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/service_plans/{service_plan_id}/features.xml:
    get:
      summary: Service Plan Feature List
      description: Returns the list of features enabled on a service plan.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_plan_id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicePlansByServicePlanIdFeaturesXml
      x-operation-id-source: derived
    post:
      summary: Service Plan Feature Enable
      description: Enables an existing feature on a service plan.
      tags:
      - Service Plans
      parameters:
      - name: service_plan_id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_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.
                feature_id:
                  type: integer
                  description: ID of the feature.
              required:
              - access_token
              - feature_id
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiServicePlansByServicePlanIdFeaturesXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/service_plans/{service_plan_id}/features/{id}.xml:
    delete:
      summary: Service Plan Feature Disable
      description: Disables a feature on a service plan.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_plan_id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the feature.
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiServicePlansByServicePlanIdFeatures{id}Xml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{id}/service_plans.xml:
    get:
      summary: Service Plan List
      description: Returns a list of all service plans for a service.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByIdServicePlansXml
      x-operation-id-source: derived
    post:
      summary: Service Plan Create
      description: Creates a new service plan in a service.
      tags:
      - Service Plans
      parameters:
      - name: id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_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 service plan.
                approval_required:
                  type: boolean
                  description: Set the 'Service subscriptions require approval?' to 'true' or 'false'
                system_name:
                  type: string
                  description: System Name of the object to be created. System names cannot be modified after creation, they are used as the key to identify the objects.
                state_event:
                  type: string
                  description: State event of the service plan. It can be 'publish' or 'hide'
                  enum:
                  - publish
                  - hide
              required:
              - access_token
              - name
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiServicesByIdServicePlansXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/service_plans/{id}.xml:
    get:
      summary: Service Plan Read
      description: Returns a service plan by ID.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiServicesByServiceIdServicePlans{id}Xml
      x-operation-id-source: derived
    put:
      summary: Service Plan Update
      description: Updates a service plan by ID.
      tags:
      - Service Plans
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_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 service plan.
                approval_required:
                  type: boolean
                  description: Set the 'Service subscriptions require approval?' to 'true' or 'false'
                state_event:
                  type: string
                  description: State event of the service plan. It can be 'publish' or 'hide'
                  enum:
                  - publish
                  - hide
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiServicesByServiceIdServicePlans{id}Xml
      x-operation-id-source: derived
    delete:
      summary: Service Plan Delete
      description: Deletes a service plan by ID.
      tags:
      - Service Plans
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiServicesByServiceIdServicePlans{id}Xml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/services/{service_id}/service_plans/{id}/default.xml:
    put:
      summary: Service Plan Set to Default
      description: Sets the service plan as default. The default service plan is used when no explicit service plan is used.
      tags:
      - Service Plans
      parameters:
      - name: service_id
        in: path
        description: ID of the service.
        x-data-threescale-name: service_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the service plan.
        x-data-threescale-name: service_plan_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.
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiServicesByServiceIdServicePlansByIdDefaultXml
      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