Web Methods Scopes API

The Scopes API from Web Methods — 2 operation(s) for scopes.

GitHub OpenAPI

Operations 5

GET /scopes Get OAuth scopes #
POST /scopes Create OAuth scope #
GET /scopes/{oauthScopeId} Get OAuth scope #
PUT /scopes/{oauthScopeId} Update OAuth scope #
DELETE /scopes/{oauthScopeId} Delete OAuth scope #

Specifications

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/web-methods:web-methods-scopes-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

web-methods-scopes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Scopes API
  version: '11.0'
  description: 'Operations tagged Scopes across 2 of this provider''s published API definitions: apigateway-ServiceManagement.json, web-methods-api-gateway-servicemanagement-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
tags:
- name: Scopes
paths:
  /scopes:
    get:
      description: This method retrieves a list of available OAuth scope mappings in API Gateway. OAuth scope mappings map the authorization server scope with APIs or API scopes
      operationId: getOAuthScopes
      responses:
        '200':
          description: This status code indicates that a list of the available OAuth scopes are retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayScope'
              example: "{\n\t\"scopes\": [\n\t\t{\n\t\t\t\"id\": \"ef084e4a-c30b-40f5-8ed9-2a6b7fb6ca34\",\n\t\t\t\"scopeName\": \"scopeMapping2\",\n\t\t\t\"scopeDescription\": \"scopeMapping2 description\",\n\t\t\t\"audience\": \"audienceName\",\n\t\t\t\"apiScopes\": [\n\t\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\n\t\t\t],\n\t\t\t\"requiredAuthScopes\": [\n\t\t\t\t{\n\t\t\t\t\t\"authServerAlias\": \"local\",\n\t\t\t\t\t\"scopeName\": \"scope1\"\n\t\t\t\t}\n\t\t\t]\n\t\t},\n\t\t{\n\t\t\t\"id\": \"9f8f2cbb-e993-4935-aa3c-ee513c9badbb\",\n\t\t\t\"scopeName\": \"scopeMapping1\",\n\t\t\t\"scopeDescription\": \"scopeMapping1 description\",\n\t\t\t\"audience\": \"audienceName\",\n\t\t\t\"apiScopes\": [\n\t\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\n\t\t\t],\n\t\t\t\"requiredAuthScopes\": [\n\t\t\t\t{\n\t\t\t\t\t\"authServerAlias\": \"local\",\n\t\t\t\t\t\"scopeName\": \"scope1\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t]\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
      security:
      - Basic: []
      tags:
      - Scopes
      summary: Get OAuth scopes
      x-summary-source: derived
    post:
      description: Use this method to create an OAuth scope mapping
      operationId: createOAuthScope
      responses:
        '201':
          description: This status code indicates that the OAuth scope has been successfully created in API Gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayScope'
              example: "{\n\t\"scope\": {\n\t\t\"id\": \"d550df0c-78c4-4139-918c-f354f77ccf9c\",\n\t\t\"scopeName\": \"scopeMapping\",\n\t\t\"scopeDescription\": \"scopeMapping description\",\n\t\t\"audience\": \"audienceName\",\n\t\t\"apiScopes\": [\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\n\t\t],\n\t\t\"requiredAuthScopes\": [\n\t\t\t{\n\t\t\t\t\"authServerAlias\": \"local\",\n\t\t\t\t\"scopeName\": \"scope1\"\n\t\t\t}\n\t\t]\n\t}\n}"
        '400':
          description: This status code indicates that the input values given in the request body is wrong.
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GatewayScope'
        description: This parameter describes the request payload of an OAuth scope that is to be created in API Gateway.
        required: true
      tags:
      - Scopes
      summary: Create OAuth scope
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /scopes/{oauthScopeId}:
    get:
      description: This method retrieves the requested OAuth scope mapping. OAuth scope mappings map the authorization server scope with APIs or API scopes
      operationId: getOAuthScope
      parameters:
      - name: oauthScopeId
        in: path
        description: The path parameter specifies the id of an OAuth scope mapping that is to be retrieved from API Gateway.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the details of the specified OAuth scope are retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayScope'
              example: "{\n\t\"scope\": {\n\t\t\"id\": \"51143fe6-7790-4c58-aa66-e4f2f0f2e3cd\",\n\t\t\"scopeName\": \"scopeMapping1\",\n\t\t\"scopeDescription\": \"scopeMapping1\",\n\t\t\"audience\": \"\",\n\t\t\"apiScopes\": [\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\n\t\t],\n\t\t\"requiredAuthScopes\": [\n\t\t\t{\n\t\t\t\t\"authServerAlias\": \"local\",\n\t\t\t\t\"scopeName\": \"scope1\"\n\t\t\t}\n\t\t]\n\t}\n}"
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that an OAuth scope with the given ID could not be found in API Gateway.
      security:
      - Basic: []
      tags:
      - Scopes
      summary: Get OAuth scope
      x-summary-source: derived
    put:
      description: Use this method to update an OAuth scope mapping
      operationId: updateOAuthScope
      parameters:
      - name: oauthScopeId
        in: path
        description: The path parameter specifies the id of an OAuth scope mapping that is to be updated in API Gateway.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the OAuth scope has been successfully updated in API Gateway.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayScope'
              example: "{\n\t\"scope\": {\n\t\t\"id\": \"51143fe6-7790-4c58-aa66-e4f2f0f2e3cd\",\n\t\t\"scopeName\": \"scopeMapping1\",\n\t\t\"scopeDescription\": \"scopeMapping1\",\n\t\t\"audience\": \"\",\n\t\t\"apiScopes\": [\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\n\t\t],\n\t\t\"requiredAuthScopes\": [\n\t\t\t{\n\t\t\t\t\"authServerAlias\": \"local\",\n\t\t\t\t\"scopeName\": \"scope1\"\n\t\t\t}\n\t\t]\n\t}\n}"
        '400':
          description: This status code indicates that the input values given in the request body is wrong.
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
      security:
      - Basic: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GatewayScope'
        description: This parameter describes the request payload of an OAuth scope that is to be updated in API Gateway.
        required: true
      tags:
      - Scopes
      summary: Update OAuth scope
      x-summary-source: derived
    delete:
      description: This method deletes the requested OAuth scope mapping.
      operationId: deleteOAuthScope
      parameters:
      - name: oauthScopeId
        in: path
        description: The path parameter specifies the id of an OAuth scope mapping that is to be deleted from API Gateway.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that the specified OAuth scope has been successfully deleted from API Gateway.
        '401':
          description: This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that an OAuth scope with the given ID could not be found in API Gateway.
      security:
      - Basic: []
      tags:
      - Scopes
      summary: Delete OAuth scope
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
components:
  schemas:
    GatewayScope:
      type: object
      properties:
        apiScopes:
          type: array
          description: List of API IDs (or API Scope IDs) mapped the auth server scope
          items:
            type: string
        audience:
          type: string
          description: This field is optional. This value will be used in scope level audience matching
        id:
          type: string
          description: A unique ID for the OAuth scope mapping
        requiredAuthScopes:
          type: array
          description: List of oauth scope entries from the authorization server definition
          items:
            $ref: '#/components/schemas/AuthServerScope'
        scopeDescription:
          type: string
          description: Description for the OAuth scope mapping
        scopeName:
          type: string
          description: Name of the OAuth scope mapping
      description: Maps the authorization server scope with APIs or API scopes
    AuthServerScope:
      type: object
      properties:
        authServerAlias:
          type: string
          description: Name of the authorization server
        scopeName:
          type: string
          description: OAuth scope name from authorization server definition
      description: Represents the oauth scope from an authorization server
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-ServiceManagement.json
- web-methods-api-gateway-servicemanagement-openapi.yml