SonicOS API Reference Guide

Table of Contents

Change Configuration for Non-Buildin-Admin Users

A non-buildin-admin user cannot change configuration using SonicWall API directly.

To change config by a non-buildin-admin user

  1. Authentication - POST request using endpoint /api/sonicos/auth.

    For details on Authentication, refer API Authentication.

  2. Start Management - POST request using endpoint /api/sonicos/start-management.

    For details on entering the management mode, refer API: Start Management.

    The return code of this step indicates if the non built-in admin user can enter to config mode or not. If yes, send config-mode to start config.

  3. Enter Config Mode - POST request using endpoint /api/sonicos/config-mode.

    For details on configuration modes, refer API: Config Mode.

  4. Change config via different APIs (POST/PUT/PATCH/DELETE).

  5. Commit the change: POST request using endpoint /api/sonicos/config/pending.

    For details on committing the configuration, refer API: Config - Pending.