Tutorial: Manage Users, Groups, and Access Controls Using the Web API⁠

Overview⁠

This tutorial provides examples for managing users, groups, and related Access Server properties using the Web API.

You can use these examples to:

  • Create and delete users and groups.

  • Manage group membership.

  • View users and groups.

  • Configure user and group permissions.

  • Manage authentication methods.

  • Configure VPN IP addressing.

  • Manage access control rules.

  • Configure split tunnel and DNS settings.

  • View and disconnect VPN clients.

  • Control client profile generation.

Prerequisites⁠

  • Access Server 3.1.0 or newer.

  • Root privileges on your Access Server's console.

  • (Optional) A remote machine for running API calls.

Before you begin⁠

All examples in this tutorial assume you're connected to the Access Server console with root privileges.

Placeholder values⁠

Replace the following placeholders with values appropriate for your environment:

Placeholder

Description

<USER_NAME>

User account name

<GROUP_NAME>

Group name

<USER_OR_GROUP>

User or group receiving the configuration

<MODE>

Authentication method

<configurationProfile>

Configuration profile name

Apply configuration changes⁠

Some configuration changes require a warm restart before they take effect.

When instructed, run:

sacli --method POST --url 'api/server/restart?restartMode=warm' --value '' apicall