Red Hat 3scale Tenants API

The Tenants API from Red Hat 3scale — 2 operation(s) for tenants.

GitHub OpenAPI

Operations 4

POST /master/api/providers.xml Tenant Create #
GET /master/api/providers/{id}.xml Tenant Show #
PUT /master/api/providers/{id}.xml Tenant Update #
DELETE /master/api/providers/{id}.xml Tenant 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-tenants-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-tenants-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Tenants API
  version: '1.0'
  description: 'Operations tagged Tenants across 2 of this provider''s published API definitions: red-hat-3scale-porta-master_api.json, red-hat-3scale-master-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://master.3scale.net
tags:
- name: Tenants
paths:
  /master/api/providers.xml:
    post:
      summary: Tenant Create
      description: This request allows you to reproduce a sign-up from a tenant in a single API call. It will create an Account, an Admin User for the account, and optionally an Application with its keys. If the plan_id is not passed, the default plan will be used instead. You can add additional custom parameters in Fields Definition on your Admin Portal.
      tags:
      - Tenants
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TenantCreateRequest'
      responses:
        default:
          description: success
          content: {}
      operationId: postMasterApiProvidersXml
      x-operation-id-source: derived
    servers:
    - url: /
  /master/api/providers/{id}.xml:
    get:
      summary: Tenant Show
      description: Show a tenant account.
      tags:
      - Tenants
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getMasterApiProviders{id}Xml
      x-operation-id-source: derived
    put:
      summary: Tenant Update
      description: Updates email addresses used to deliver email notifications to customers.
      tags:
      - Tenants
      parameters:
      - name: id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/TenantUpdateRequest'
      responses:
        default:
          description: success
          content: {}
      operationId: putMasterApiProviders{id}Xml
      x-operation-id-source: derived
    delete:
      summary: Tenant Delete
      description: Schedules a tenant account to be permanently deleted in 15 days. At that time all its users, services, plans and developer accounts subscribed to it will be deleted too. When a tenant account is scheduled for deletion it can no longer be edited (except except its state) and its admin portal and developer portal cannot be accessible. Update with 'resume' state event to unschedule a tenant for deletion.
      tags:
      - Tenants
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteMasterApiProviders{id}Xml
      x-operation-id-source: derived
    servers:
    - url: /
components:
  schemas:
    TenantCreateRequest:
      type: object
      properties:
        access_token:
          type: string
          description: A personal Access Token.
        org_name:
          type: string
          description: Organization Name of the tenant account.
        username:
          type: string
          description: Username of the admin user (on the new tenant account).
        email:
          type: string
          description: Email of the admin user.
        password:
          type: string
          description: Password of the admin user.
      additionalProperties:
        type: string
      required:
      - access_token
      - org_name
      - username
      - email
      - password
    TenantUpdateRequest:
      type: object
      properties:
        access_token:
          type: string
          description: A personal Access Token.
        from_email:
          type: string
          description: New outgoing email.
        support_email:
          type: string
          description: New support email.
        finance_support_email:
          type: string
          description: New finance support email.
        site_access_code:
          type: string
          description: Developer Portal Access Code.
        state_event:
          type: string
          description: Change the state of the tenant. It can be either 'make_pending', 'approve', 'reject', 'suspend', or 'resume' depending on the current state
          enum:
          - make_pending
          - approve
          - reject
          - suspend
          - resume
      additionalProperties:
        type: string
      required:
      - access_token
x-refined-from:
- red-hat-3scale-porta-master_api.json
- red-hat-3scale-master-openapi.yml