Red Hat 3scale Users API

The Users API from Red Hat 3scale — 7 operation(s) for users.

GitHub OpenAPI

Operations 10

GET /admin/api/accounts/{account_id}/users.xml User List #
POST /admin/api/accounts/{account_id}/users.xml User Create #
GET /admin/api/accounts/{account_id}/users/{id}.xml User Read #
PUT /admin/api/accounts/{account_id}/users/{id}.xml User Update #
DELETE /admin/api/accounts/{account_id}/users/{id}.xml User Delete #
PUT /admin/api/accounts/{account_id}/users/{id}/activate.xml User Activate #
PUT /admin/api/accounts/{account_id}/users/{id}/admin.xml User change Role to Admin #
PUT /admin/api/accounts/{account_id}/users/{id}/member.xml User Change Role to Member #
PUT /admin/api/accounts/{account_id}/users/{id}/suspend.xml User Suspend #
PUT /admin/api/accounts/{account_id}/users/{id}/unsuspend.xml User Unsuspend #

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-users-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-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Red Hat 3scale Users API
  version: '1.0'
  description: 'Operations tagged Users 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: Users
paths:
  /admin/api/accounts/{account_id}/users.xml:
    get:
      summary: User List
      description: Returns the list of users of an account. The list can be filtered by the state or role of the users.
      tags:
      - Users
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: state
        in: query
        description: Filter users by State.
        schema:
          type: string
          enum:
          - pending
          - suspended
          - active
      - name: role
        in: query
        description: Filter users by Role.
        schema:
          type: string
          enum:
          - member
          - admin
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiAccountsByAccountIdUsersXml
      x-operation-id-source: derived
    post:
      summary: User Create
      description: Creates a new user of the account (account_id). Do not forget to activate the user otherwise he/she will be unable to sign-in. After creation the default state is pending and the default role is member. The user object can be extended using Fields Definitions in the Admin Portal. You can add/remove fields, for instance token (string), age (int), third name (string optional), etc.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        description: Custom fields can be specified in the request by adding `&custom-field=value` to the body parameters. See <a href="#model-UserCreateRequest">UserCreateRequest</a> schema for the request body definition.
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UserCreateRequest'
      responses:
        default:
          description: success
          content: {}
      operationId: postAdminApiAccountsByAccountIdUsersXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}.xml:
    get:
      summary: User Read
      description: Returns the user of an account.
      tags:
      - Users
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: getAdminApiAccountsByAccountIdUsers{id}Xml
      x-operation-id-source: derived
    put:
      summary: User Update
      description: Updates the user of an account. You can update any field, not only those in the form of the ActiveDocs but all the fields that belong to the User object. Additional fields have to be defined by name and value (i.e &name=value). Remember that you can define custom fields on your Admin Portal.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_ids
        required: true
        schema:
          type: integer
      requestBody:
        required: true
        description: Custom fields can be specified in the request by adding `&custom-field=value` to the body parameters. See <a href="#model-UserUpdateRequest">UserUpdateRequest</a> schema for the request body definition.
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UserUpdateRequest'
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiAccountsByAccountIdUsers{id}Xml
      x-operation-id-source: derived
    delete:
      summary: User Delete
      description: Deletes a user of an account. The last user can't be deleted
      tags:
      - Users
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: deleteAdminApiAccountsByAccountIdUsers{id}Xml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}/activate.xml:
    put:
      summary: User Activate
      description: Activate the user of an account. A user is created in the pending state and needs to be activated before he/she is able to sign-in.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_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.
                additional_fields[]:
                  description: Additional fields have to be defined by name and value (i.e &name=value). You can add as many as you want. Additional fields are the custom fields declared in 'Settings >> Fields Definitions' on your API Admin Portal. Typical examples are 'url', 'country', etc. Please check your Fields Definitions to get the list of all your custom fields.
                  type: array
                  items:
                    type: string
              required:
              - access_token
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiAccountsByAccountIdUsersByIdActivateXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}/admin.xml:
    put:
      summary: User change Role to Admin
      description: Changes the role of the user to admin.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_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: putAdminApiAccountsByAccountIdUsersByIdAdminXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}/member.xml:
    put:
      summary: User Change Role to Member
      description: Changes the role of the user to member.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_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: putAdminApiAccountsByAccountIdUsersByIdMemberXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}/suspend.xml:
    put:
      summary: User Suspend
      description: Changes the state of the user to suspended. A suspended user cannot sign-in.
      tags:
      - Users
      parameters:
      - name: access_token
        in: query
        description: A personal Access Token
        required: true
        schema:
          type: string
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_ids
        required: true
        schema:
          type: integer
      responses:
        default:
          description: success
          content: {}
      operationId: putAdminApiAccountsByAccountIdUsersByIdSuspendXml
      x-operation-id-source: derived
    servers:
    - url: /
  /admin/api/accounts/{account_id}/users/{id}/unsuspend.xml:
    put:
      summary: User Unsuspend
      description: Change the state of the user back to active.
      tags:
      - Users
      parameters:
      - name: account_id
        in: path
        description: ID of the account.
        x-data-threescale-name: account_ids
        required: true
        schema:
          type: integer
      - name: id
        in: path
        description: ID of the user.
        x-data-threescale-name: user_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: putAdminApiAccountsByAccountIdUsersByIdUnsuspendXml
      x-operation-id-source: derived
    servers:
    - url: /
components:
  schemas:
    UserCreateRequest:
      type: object
      properties:
        access_token:
          type: string
          description: A personal Access Token.
        username:
          type: string
          description: Username of the user.
        email:
          type: string
          description: Email of the user.
        password:
          type: string
          description: Password of the user.
      required:
      - access_token
      - username
      - email
      - password
      additionalProperties:
        type: string
    UserUpdateRequest:
      type: object
      properties:
        access_token:
          type: string
          description: A personal Access Token.
        username:
          type: string
          description: Username of the user.
        email:
          type: string
          description: Email of the user.
        password:
          type: string
          description: Password of the user.
      required:
      - access_token
      additionalProperties:
        type: string
x-refined-from:
- red-hat-3scale-porta-account_management_api.json
- red-hat-3scale-account-management-openapi.yml