Web Methods Groups API

The Groups API from Web Methods — 4 operation(s) for groups.

GitHub OpenAPI

Operations 11

GET /groups Get groups #
POST /groups Create group #
GET /groups/{groupId} Get group #
PUT /groups/{groupId} Update group #
DELETE /groups/{groupId} Delete group #
PUT /groups/{id}/users Add users to group #
DELETE /groups/{id}/users Remove users from group #
GET /groups/{id}/users Fetch members of user group #
GET /groups/{id} Retrieve group #
PUT /groups/{id} Update user group #
DELETE /groups/{id} Delete group #

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-groups-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-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Web Methods Groups API
  version: '1.0'
  description: 'Operations tagged Groups across 3 of this provider''s published API definitions: apigateway-UserManagementSwagger.json, web-methods-api-gateway-usermanagement-openapi.yml, web-methods-developer-portal-users-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: http://localhost:5555/rest/apigateway
- url: http://localhost:18101/portal/rest/v1
  description: Development server
tags:
- name: Groups
paths:
  /groups:
    get:
      description: The method retrieves list of all groups in API Gateway.
      operationId: getGroups
      responses:
        '200':
          description: This status code indicates that the list of groups is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
              example: "{\n    \"groups\": [\n        {\n            \"id\": \"Administrators\",\n            \"name\": \"Administrators\",\n            \"description\": \"Users added to this group can perform similar local administrative tasks.\",\n            \"type\": \"local\",\n            \"systemDefined\": true,\n            \"userIds\": [\n                \"Administrator\"\n            ]\n        },\n        {\n            \"id\": \"API-Gateway-Administrators\",\n            \"name\": \"API-Gateway-Administrators\",\n            \"description\": \"Users added to this group can perform similar API Gateway Administrative tasks.\",\n            \"type\": \"local\",\n            \"systemDefined\": true,\n            \"userIds\": [\n                \"Administrator\"\n            ]\n        },\n        {\n            \"id\": \"API-Gateway-Providers\",\n            \"name\": \"API-Gateway-Providers\",\n            \"description\": \"Users added to this group can perform similar API Gateway Providers tasks.\",\n            \"type\": \"local\",\n            \"systemDefined\": true,\n            \"userIds\": []\n        },\n        {\n            \"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\",\n            \"name\": \"TestGrp\",\n            \"description\": \"\",\n            \"type\": \"local\",\n            \"systemDefined\": false,\n            \"userIds\": [\n                \"69aa914e-fbfc-4c74-87f1-2d48f589e115\"\n            ]\n        }\n    ]\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:
      - Groups
      summary: Get groups
      x-summary-source: derived
    post:
      description: The method creates a group in API Gateway. The API request body must contain the payload for the group.
      operationId: createGroup
      responses:
        '201':
          description: This status code indicates that the group has been successfully created in API Gateway, and the newly created group is available in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
              example: "{\n\t\"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\",\n\t\"name\": \"TestGrp\",\n\t\"description\": \"Group has all QA Members\",\n\t\"type\": \"local\",\n\t\"userIds\": [\n\t\t\"69aa914e-fbfc-4c74-87f1-2d48f589e115\"\n\t]\n}"
        '400':
          description: This status code indicates that a group with the given name already exists in API Gateway or the request body is not correct.
        '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/Group'
        description: This parameter describes the request payload of a group that is to be created in API Gateway.
        required: true
      tags:
      - Groups
      summary: Create group
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /groups/{groupId}:
    get:
      description: The method retrieves the details of a group in API Gateway.
      operationId: getGroup
      parameters:
      - name: groupId
        in: path
        description: The path parameter specifies the id of a group whose details are to be retrieved.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the details of the group is successfully retrieved.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
              example: "{\n    \"groups\": [\n        {\n            \"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\",\n            \"name\": \"TestGrp\",\n            \"description\": \"Group has all QA Members\",\n            \"type\": \"local\",\n            \"userIds\": [\n                \"69aa914e-fbfc-4c74-87f1-2d48f589e115\"\n            ]\n        }\n    ]\n}"
        '401':
          description: This status code indicates that either group didn't provide right credentials or user doesn't have required privileges to access this API.
        '404':
          description: This status code indicates that a group with the given id could not be found in API Gateway.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" Group with id: 15fbeeb2-745c-4988-b7b6-61f359ecbfc8 does not exist.\"\n}"
      security:
      - Basic: []
      tags:
      - Groups
      summary: Get group
      x-summary-source: derived
    put:
      description: The method updates the details of a specified group in API Gateway. The API request body must contain the payload for the updated group.
      operationId: updateGroup
      parameters:
      - name: groupId
        in: path
        description: The path parameter specifies the id of a group whose detail is to be updated in API Gateway.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: This status code indicates that the group has been successfully updated in API Gateway, and the updated group is available in the response body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
              example: "{\n\t\"id\": \"be9147a8-6e53-4472-b1bd-16337a84d314\",\n\t\"name\": \"TestGrp\",\n\t\"description\": \"Group has all QA Members\",\n\t\"type\": \"local\",\n\t\"userIds\": [\n\t\t\"69aa914e-fbfc-4c74-87f1-2d48f589e115\"\n\t]\n}"
        '400':
          description: This status code indicates that the request body is invalid.
        '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/Group'
        description: This parameter describes the request payload of a group that is to be updated in API Gateway.
        required: true
      tags:
      - Groups
      summary: Update group
      x-summary-source: derived
    delete:
      description: The method deletes a group from API Gateway.
      operationId: deleteGroup
      parameters:
      - name: groupId
        in: path
        description: The path parameter specifies the id of a group that is to be deleted from API Gateway.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: This status code indicates that the specified group 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 group with the given id could not be found in API Gateway.
          content:
            application/json:
              example: "{\n    \"errorDetails\": \" Group with id: 732c4526-db9a-4ef9-9782-edda1a6aa9bc does not exist.\"\n}"
      security:
      - Basic: []
      tags:
      - Groups
      summary: Delete group
      x-summary-source: derived
    servers:
    - url: http://localhost:5555/rest/apigateway
  /groups/{id}/users:
    parameters:
    - name: id
      in: path
      description: Unique Identification for a group
      required: true
      allowEmptyValue: false
      schema:
        type: string
        format: uuid
    put:
      summary: Add users to group
      description: 'Add collection of users as members of the specific group identified given UUID


        *Endpoint can be accessed only by users with **API-Administrator** functional privilege*'
      tags:
      - Groups
      requestBody:
        content:
          application/json:
            schema:
              type: array
              description: Collection of uuids
              items:
                type: string
            example:
            - 90015098-3cd2-3fb0-9696-3f7d28e17f72
      responses:
        '200':
          description: Adding Users to Group Successful
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
      operationId: putGroupsByIdUsers
      x-operation-id-source: derived
    delete:
      summary: Remove users from group
      description: 'Remove users identified by the collection of unique identifiers(uuid) from the given APIPortal user group


        *Endpoint can be accessed only by users with **API-Administrator** functional privilege*'
      tags:
      - Groups
      responses:
        '200':
          description: Removal of users from group Successful
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/GroupNotFound'
      operationId: deleteGroupsByIdUsers
      x-operation-id-source: derived
    get:
      summary: Fetch members of user group
      description: 'Retrieve the users associated toa specific group identified by given UUID


        *Endpoint can be accessed by users with **API-Administrator** or **API-Provider** functional privilege*'
      tags:
      - Groups
      responses:
        '200':
          description: Response when succesfully retrieved all users in a group
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/User'
              examples:
                Users:
                  $ref: '#/components/examples/UserList'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/GroupNotFound'
      operationId: getGroupsByIdUsers
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
  /groups/{id}:
    parameters:
    - name: id
      in: path
      description: Unique Identification of a group
      required: true
      allowEmptyValue: false
      schema:
        type: string
    get:
      summary: Retrieve group
      description: 'Retrieve a specific group identified by given unique identifier(UUID)


        *Endpoint can be accessed by **ALL** registered users*'
      tags:
      - Groups
      responses:
        '200':
          description: Response when succesfully retrieved the group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group_2'
              examples:
                Groups:
                  $ref: '#/components/examples/Group'
        '401':
          $ref: '#/components/responses/Unauthorized'
      operationId: getGroupsById
      x-operation-id-source: derived
    put:
      summary: Update user group
      description: 'Update a specific group identified by given unique identifier(UUID)


        *Endpoint can be accessed only by users with **API-Administrator** functional privilege*'
      tags:
      - Groups
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Group_2'
            example:
              $ref: '#/components/examples/Group'
      responses:
        '200':
          description: Response when the group is succesfully updated in the system
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group_2'
              example:
                $ref: '#/components/examples/Group'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/GroupNotFound'
      operationId: putGroupsById
      x-operation-id-source: derived
    delete:
      summary: Delete group
      description: 'Delete a specific group identified by given unique identifier(uuid)


        *Endpoint can be accessed only by users with **API-Administrator** functional privilege*'
      tags:
      - Groups
      responses:
        '204':
          description: Response when group is succesfully removed.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/GroupNotFound'
      operationId: deleteGroupsById
      x-operation-id-source: derived
    servers:
    - url: http://localhost:18101/portal/rest/v1
      description: Development server
components:
  schemas:
    Group:
      type: object
      properties:
        description:
          type: string
          description: description of the group
        id:
          type: string
          description: Group ID
          readOnly: true
        name:
          type: string
          description: name of the group
        userIds:
          type: array
          description: list of user's Ids assigned to the group
          items:
            type: string
      description: This model contains details about a group in API Gateway
    Groups:
      type: object
      properties:
        result:
          type: array
          description: Collection of groups
          items:
            $ref: '#/components/schemas/Group_2'
        count:
          type: integer
          description: Total number of groups available
        _links:
          type: object
          properties:
            _self:
              description: Link for current page
              type: string
            _next:
              description: Optional link for the next page. Will be missing if the next page does not exist.
              type: string
    User:
      description: User information
      type: object
      properties:
        username:
          description: username of the user
          type: string
        displayname:
          description: dervied name for the user. Usually in the combiation of `first name` + `last name`
          type: string
        firstname:
          description: first name of the user
          type: string
        lastname:
          description: last name of the user
          type: string
        email:
          description: email of the user
          type: string
        type:
          description: type of the user. It could be `NATIVE` / `LDAP` / `SOCIAL`
          type: string
        created:
          description: date in which user was provisioned in the system
          type: string
        modified:
          description: date in which user was modified in the system
          type: string
        id:
          description: uuid of the user.
          type: string
          format: uuid
        attributes:
          description: additional attributes of the user
          type: object
    CreationResponse:
      type: object
      properties:
        id:
          description: uuid of the created object
          type: string
        _self:
          description: link for retrieving the created obejct
          type: string
      required:
      - id
      - _self
    Group_2:
      type: object
      properties:
        name:
          description: name of the group
          type: string
        description:
          description: description of the group
          type: string
        created:
          description: date in which group was provisioned in the system
          type: string
        modified:
          description: date in which group was modified in the system
          type: string
        id:
          description: uuid of the user.
          type: string
          format: uuid
    Error:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: detailed error message if any.
  examples:
    UserList:
      value:
      - username: administrator
        id: 200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4
        firstname: Administrator
        lastname: System
        locale: en_US
        externalPictureUrl: /rest/v1/users/200ceb26-807d-3bf9-9fd6-f4f0d1ca54d4/picture
        type: NATIVE
        created: 2021-03-24 08:15
        modified: 2021-03-24 08:15
        name: administrator
        displayName: Administrator System
    Groups:
      value:
        result:
        - id: 9870271b-5413-3053-b5b3-12f97a513552
          name: API Administrator
          description: Group of API Administrators
          created: 2021-03-24 08:15
          modified: 2021-03-24 08:15
          displayName: API Administrator
        - id: 7dead6ba-d7f3-321d-a5c9-971dc33b73fd
          name: API Consumer
          description: Group of API Consumer
          created: 2021-03-24 08:15
          modified: 2021-03-24 08:15
          displayName: API Consumer
        - id: 8ad53d34-550a-35f8-ac0b-c540aa751dbf
          name: API Provider
          description: Group of API Provider
          created: 2021-03-24 08:15
          modified: 2021-03-24 08:15
          displayName: API Provider
        count: 3
        _links:
          _self: /rest/v1/groups?page=0
    '401':
      value:
        code: 401
        message: Invalid credentials
    '403':
      value:
        code: 403
        message: Insufficient privileges
    '400':
      value:
        code: 400
        message: The payload given is invalid
    404-Group:
      value:
        code: 404
        message: Unable to find the group with id [3bdf8005-5685-3ef5-b132-de4681963fb6]
    Group:
      value:
        id: 7a26cf6e-bfc8-4f5e-a383-25fa49a1bfcb
        name: APIPortal GroupOne
        description: Description of APIPortal GroupOne
    '404':
      value:
        code: 404
        message: Unable to find the Application
  responses:
    NotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            404:
              $ref: '#/components/examples/404'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            401:
              $ref: '#/components/examples/401'
    GroupNotFound:
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            404:
              $ref: '#/components/examples/404-Group'
    BadRequest:
      description: The request was unacceptable, due to invalid payload
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            400:
              $ref: '#/components/examples/400'
    Forbidden:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            403:
              $ref: '#/components/examples/403'
  securitySchemes:
    Basic:
      type: http
      scheme: basic
      description: API Gateway Administrator and API Gateway provider
x-refined-from:
- apigateway-UserManagementSwagger.json
- web-methods-api-gateway-usermanagement-openapi.yml
- web-methods-developer-portal-users-openapi.yml