Web Methods Users API
The Users API from Web Methods — 9 operation(s) for users.
The Users API from Web Methods — 9 operation(s) for users.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/web-methods:web-methods-users-api"
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.
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: 3.2.0
info:
title: Web Methods Users API
version: '1.0'
description: 'Operations tagged Users across 4 of this provider''s published API definitions: apigateway-UserManagementSwagger.json, web-methods-api-gateway-usermanagement-openapi.yml, web-methods-developer-portal-notifications-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: Users
paths:
/users:
get:
description: The method retrieves list of all users in API Gateway.
operationId: getUsers
responses:
'200':
description: This status code indicates that the list of users is successfully retrieved.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
example: "{\n \"users\": [\n {\n \"id\": \"Administrator\",\n \"loginId\": \"Administrator\",\n \"firstName\": \"Administrator\",\n \"password\": \"********************************\",\n \"type\": \"local\",\n \"allowDigestAuth\": false,\n \"active\": true,\n \"systemDefined\": true,\n \"language\": \"en\",\n \"emailAddresses\": []\n },\n {\n \"id\": \"15fbeeb2-745c-4988-b7b6-61f359ecbfc8\",\n \"loginId\": \"testUser\",\n \"firstName\": \"User\",\n \"lastName\": \"Test\",\n \"password\": \"********************************\",\n \"type\": \"local\",\n \"allowDigestAuth\": false,\n \"active\": true,\n \"systemDefined\": false,\n \"language\": \"ja\",\n \"emailAddresses\": [\n \"noreply@softwareag.com\"\n ]\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:
- Users
summary: Get users
x-summary-source: derived
post:
description: The method creates an user in API Gateway. The API request body must contain the payload for the user.
operationId: createUser
responses:
'201':
description: This status code indicates that the user has been successfully created in API Gateway, and the newly created user is available in the response body.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
example: "{\n \"id\": \"15fbeeb2-745c-4988-b7b6-61f359ecbfc8\",\n \"loginId\": \"testUser\",\n \"firstName\": \"User\",\n \"lastName\": \"Test\",\n \"password\": \"********************************\",\n \"type\": \"local\",\n \"allowDigestAuth\": false,\n \"active\": true,\n \"language\": \"en\",\n \"emailAddresses\": [\n \"noreply@softwareag.com\"\n ]\n }"
'400':
description: This status code indicates that an user with the given loginId 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/User'
description: This parameter describes the request payload of a user that is to be created in API Gateway.
required: true
tags:
- Users
summary: Create user
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/users/authenticate:
post:
description: This HTTP request authenticates an User in API Gateway.
operationId: authorizeUser
responses:
'200':
description: This status code indicates that the user was successfully authenticated.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
'400':
description: This status code indicates that the request payload is not correct or User is already exists
'401':
description: This status code indicates that authorization has been refused for this HTTP request. This is possibly because, the user has not specified the required credentials (username and password), or has specified invalid credentials.
security:
- Basic: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
description: This parameter describes the request payload of a user that is to be created in API Gateway.
required: true
tags:
- Users
summary: Authorize user
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/users/{userId}:
get:
description: The method retrieves the details of an user in API Gateway.
operationId: getUser
parameters:
- name: userId
in: path
description: The path parameter specifies the id of an user whose details are to be retrieved.
required: true
schema:
type: string
responses:
'200':
description: This status code indicates that the details of the user is successfully retrieved.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
example: "{\n \"users\": [\n {\n \"id\": \"15fbeeb2-745c-4988-b7b6-61f359ecbfc8\",\n \"loginId\": \"testUser\",\n \"firstName\": \"User\",\n \"lastName\": \"Test\",\n \"password\": \"********************************\",\n \"type\": \"local\",\n \"allowDigestAuth\": false,\n \"active\": true,\n \"emailAddresses\": [\n \"noreply@softwareag.com\"\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.
'404':
description: This status code indicates that an user with the given id could not be found in API Gateway.
content:
application/json:
example: "{\n \"errorDetails\": \" User with id: 15fbeeb2-745c-4988-b7b6-61f359ecbfc8 does not exist.\"\n}"
security:
- Basic: []
tags:
- Users
summary: Get user
x-summary-source: derived
put:
description: The method updates the details of a specified user in API Gateway. The API request body must contain the payload for the updated user.
operationId: updateUser
parameters:
- name: userId
in: path
description: The path parameter specifies the id of an user whose detail is to be updated in API Gateway.
required: true
schema:
type: string
responses:
'200':
description: This status code indicates that the user has been successfully updated in API Gateway, and the updated user is available in the response body.
content:
application/json:
schema:
$ref: '#/components/schemas/User'
example: "{\n \"id\": \"15fbeeb2-745c-4988-b7b6-61f359ecbfc8\",\n \"loginId\": \"testUser\",\n \"firstName\": \"User\",\n \"lastName\": \"Test\",\n \"password\": \"test\",\n \"type\": \"local\",\n \"allowDigestAuth\": false,\n \"emailAddresses\": [\n \"noreply@softwareag.com\"\n ]\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/User'
description: This parameter describes the request payload of a user that is to be updated in API Gateway.
required: true
tags:
- Users
summary: Update user
x-summary-source: derived
delete:
description: This HTTP request deletes the specified application in API Gateway.
operationId: deleteUser
parameters:
- name: userId
in: path
description: This parameter specifies the ID of an application that is to be deleted in API Gateway.
required: true
schema:
type: string
responses:
'204':
description: This status code indicates that the specified user 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 user with the given id could not be found in API Gateway.
content:
application/json:
example: "{\n \"errorDetails\": \" User with id: 732c4526-db9a-4ef9-9782-edda1a6aa9bc does not exist.\"\n}"
security:
- Basic: []
tags:
- Users
summary: Delete user
x-summary-source: derived
servers:
- url: http://localhost:5555/rest/apigateway
/users/preferences:
put:
summary: Update notification preference
description: Update the notification preferences for logged in user
tags:
- Users
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/NotificationPreference'
examples:
NotifictionPreference:
$ref: '#/components/examples/NotificationPreference'
responses:
'200':
description: Notification preference for the current user updated successfully
'401':
$ref: '#/components/responses/Unauthorized'
operationId: putUsersPreferences
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/users/self:
parameters: []
get:
description: 'Retrieve the details about currently logged in user.
*Endpoint can be accessed by **ALL** registered users*'
summary: Retrieve logged in user details
tags:
- Users
responses:
'200':
$ref: '#/components/responses/SelfResponse'
'401':
$ref: '#/components/responses/Unauthorized'
operationId: getUsersSelf
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/users/self/privileges:
get:
summary: Retrieves the privileges of loggedin user
description: 'Fetch the currently logged in user privileges.
*Endpoint can be accessed by **ALL** registered users*'
tags:
- Users
responses:
'200':
$ref: '#/components/responses/SelfPrivilegesResponse'
'401':
$ref: '#/components/responses/Unauthorized'
operationId: getUsersSelfPrivileges
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/users/{id}:
parameters:
- name: id
in: path
description: Unique identification for user. Refers to the UUID of the user.
required: true
allowEmptyValue: false
schema:
type: string
format: uuid
get:
summary: Retrieve specific user identified given UUID
description: Retrieve specific user detail by using the unique identifier(uuid).
tags:
- Users
responses:
'200':
$ref: '#/components/responses/UserById'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
operationId: getUsersById
x-operation-id-source: derived
put:
summary: Update user
description: 'Update user basic information like `firstname` , `lastname`, `email` for specific user identified given UUID
*Endpoint can be accessed only by a user having permission to **UPDATE** user*'
tags:
- Users
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/User_2'
examples:
User:
$ref: '#/components/examples/User'
responses:
'200':
$ref: '#/components/responses/UserById'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
operationId: putUsersById
x-operation-id-source: derived
delete:
summary: Delete user
description: 'Delete specific user identified by given unique identifier(UUID)
*Endpoint can be accessed only by users with **API-Administrator** functional privilege*'
tags:
- Users
responses:
'204':
description: Response when succesfuly removed the user.
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
operationId: deleteUsersById
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/users/delete:
post:
summary: Delete my account
description: 'Deleting the logged in user account. User must provide his current password to re-confirm his identity.
*Endpoint can be accessed by **ALL** registered users*'
tags:
- Users
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
password:
type: string
description: logged in user password.
example:
password: manage
responses:
'204':
description: Response when succesfully deleted the user account.
400:
$ref: '#/components/responses/PasswordDoNotMatch'
'401':
$ref: '#/components/responses/Unauthorized'
operationId: postUsersDelete
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
/users/anonymize:
put:
summary: Anonymize the users that are already deleted in Developer Portal
description: 'To accomplish GDPR compliance, after deleting the user from developer portal their personal details has to be anonymized in the application.
This endpoint can be used to anonymize the users'' personal data manually.
*Endpoint can be accessed only by users with **API Administrator** functional privilege*'
tags:
- Users
requestBody:
content:
application/json:
schema:
type: array
description: Collection of user names (login name)
items:
type: string
example:
- ProviderUser1
- ConsumerUser3
responses:
'200':
$ref: '#/components/responses/UpdatedResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
operationId: putUsersAnonymize
x-operation-id-source: derived
servers:
- url: http://localhost:18101/portal/rest/v1
description: Development server
components:
schemas:
User:
type: object
properties:
active:
type: boolean
description: active status of the user
allowDigestAuth:
type: boolean
description: list of email addresses of the user
emailAddresses:
type: array
description: list of email addresses of the user
items:
type: string
firstName:
type: string
description: first name of the user
id:
type: string
description: unique identifier of a user
readOnly: true
language:
type: string
description: preferred language of the user
lastName:
type: string
description: last name of the user
loginId:
type: string
description: login name
description: This model contains details about a User in API Gateway
Frequency:
type: string
description: Frequency of notification. Valid values `INSTANT` / `DAILY` / `WEEKLY`
enum:
- false
- INSTANT
- DAILY
- WEEKLY
- MONTHLY
EmailNotification:
type: object
description: Email notification settings
additionalProperties:
$ref: '#/components/schemas/Frequency'
NotificationPreference:
type: object
description: Notification preference for the user
properties:
inapp:
$ref: '#/components/schemas/InAppNotification'
email:
$ref: '#/components/schemas/EmailNotification'
InAppNotification:
type: object
description: In app notification settings
additionalProperties:
$ref: '#/components/schemas/Frequency'
Error:
type: object
properties:
code:
type: integer
format: int32
message:
type: string
errors:
type: array
items:
type: string
User_2:
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
Users:
type: object
properties:
result:
type: array
description: Collection of users
items:
$ref: '#/components/schemas/User_2'
count:
type: integer
description: Total number of users 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
Error_2:
required:
- code
- message
type: object
properties:
code:
type: integer
format: int32
description: Error code
message:
type: string
description: detailed error message if any.
UpdatedResponse:
type: object
properties:
code:
description: Response code
type: integer
message:
description: Response message
type: string
responses:
Unauthorized:
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
401:
$ref: '#/components/examples/401'
NotFound:
description: The specified resource was not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error_2'
examples:
404:
$ref: '#/components/examples/404'
UpdatedResponse:
description: The response when the users are anonymized successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/UpdatedResponse'
examples:
UpdationResponse:
$ref: '#/components/examples/UpdatedResponse'
BadRequest:
description: The request was unacceptable, due to invalid payload
content:
application/json:
schema:
$ref: '#/components/schemas/Error_2'
examples:
400:
$ref: '#/components/examples/400'
PasswordDoNotMatch:
description: Invalid request. User provided information is not correct
content:
application/json:
schema:
$ref: '#/components/schemas/Error_2'
example:
code: 11
message: The password does not match the password stored in the database.
Forbidden:
description: Forbidden
content:
application/json:
schema:
$ref: '#/components/schemas/Error_2'
examples:
403:
$ref: '#/components/examples/403'
CreateUser:
description: Response when successfully created a new user
content:
application/json:
schema:
$ref: '#/components/schemas/CreationResponse'
SelfPrivilegesResponse:
description: Response when successfully retrieved the logged in user privileges
content:
application/json:
schema:
description: Collectin of privileges. Privileges are `ROLE_CONSUMER` / `ROLE_ADMINISTRATOR` / `ROLE_PROVIDER`
type: array
items:
type: string
enum:
- ROLE_CONSUMER
- ROLE_ADMINISTRATOR
- ROLE_PROVIDER
example:
- ROLE_ADMINISTRATOR
UserById:
description: Response when succesfully retrieved the user by given UUID.
content:
application/json:
schema:
$ref: '#/components/schemas/User_2'
examples:
User:
$ref: '#/components/examples/User'
SelfResponse:
description: Response when succesfully retrieved the logged in user details.
content:
application/json:
schema:
$ref: '#/components/schemas/User_2'
examples:
User:
$ref: '#/components/examples/User'
examples:
'401':
value:
code: 401
message: Invalid credentials
NotificationPreference:
value:
INAPP:
TOPIC_CREATED: INSTANT
COMMENT_CREATED: INSTANT
APPROVAL_PENDING: INSTANT
APPROVAL_RESULT: INSTANT
API_REPUBLISH: INSTANT
API_UNPUBLISH: INSTANT
PACKAGE_UNPUBLISH: INSTANT
PACKAGE_REPUBLISH: INSTANT
EMAIL:
TOPIC_CREATED: false
COMMENT_CREATED: false
APPROVAL_PENDING: false
APPROVAL_RESULT: false
API_REPUBLISH: INSTANT
API_UNPUBLISH: INSTANT
PACKAGE_UNPUBLISH: INSTANT
PACKAGE_REPUBLISH: INSTANT
'400':
value:
code: 400
message: The payload given is invalid
User:
value:
firstname: John
lastname: Williams
username: Williams
email: john@xyz.com
'403':
value:
code: 403
message: Insufficient privileges
UpdatedResponse:
value:
code: 200
message: Users are anonymized successfully
Users:
value:
result:
- 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
count: 1
_links:
_self: /rest/v1/users?page=0
'404':
value:
code: 404
message: Unable to find the Application
securitySchemes:
Basic:
type: http
scheme: basic
description: API Gateway Administrator and API Gateway provider
basicAuth:
type: http
scheme: basic
x-refined-from:
- apigateway-UserManagementSwagger.json
- web-methods-api-gateway-usermanagement-openapi.yml
- web-methods-developer-portal-notifications-openapi.yml
- web-methods-developer-portal-users-openapi.yml