Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Archive] [WLM] Useful API calls for the SmartPass server

0

0

Article ID: KB25164 KB Last Updated: 10 Oct 2020Version: 3.0
Summary:
This article provides information about certain useful API calls that can be used for the SmartPass server.
Symptoms:
Useful API calls for the SmartPass server:
 
  • get a list of users

  • get a list of user types

  • add a user

  • bulk user creation

  • delete a user

  • disconnect a user


  •  
Solution:
  • Get a list of users: It is used to obtain a list of all users from the SmartPass server.

    Query:
    https://<ServerIPAddress>:<PortNumber>/webservice/provision/v1/users
  • Get a list of user types: It is used to obtain a list of user types from the SmartPass server.

    Query:
    https://<SmartPassServerIP>:<PortNumber>/webservice/provision/v1/user-types
  • Add a user: It is used to add a user to the SmartPass server.

    Query:
    https://<ServerIPAddress>:<PortNumber>/webservice/provision/v1/users?op=add&username=gigel&user-type=5-Days&phone-number=40727123456&email-address=gigel@juniper.com&
  • Bulk user creation: It is used to simultaneously add a large number of users to the SmartPass server.

    Query:
    https://<ServerIPAddress>:<PortNumber>/webservice/provision/v1/users?op=bulk&number=100&user-type=1-Hour%20Duration
  • Delete a user account: It is used to delete a user account on the SmartPass server.

    Query:
    https://<ServerIPAddress>:<PortNumber>/webservice/provision/v1/users?op=delete&username=gigel
  • Disconnect a user: It is used to disconnect a user from the SmartPass server.

    Query:
    https://<ServerIPAddress>:<PortNumber>/webservice/provision/v1/users?op=disconnect&username=gigel
Modification History:
2020-10-10: Archived article.
 
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search