---
title: 'Tutorial: Changing the XML-RPC Function Support'
canonical: https://openvpn.net/as-docs/v3/tutorials/tutorial--xml-rpc-interface/
product: Access Server Docs
description: Change the XML-RPC function support in Access Server, which allows you to control Access Server functionalities remotely.
---

# Tutorial: Changing the XML-RPC Function Support

## Overview

This tutorial explains how to change the XML-RPC function support in Access Server, which allows you to control Access Server functionalities remotely.

## Prerequisites

- An installed Access Server.
- Console access and the ability to get root access.

## Step 1: Enable XML-RPC debugging

- To see XML-RPC calls on the command line with the `sacli VPNSummary` function use:

  ```
  OPENVPN_AS_DEBUG_XML=1 ./sacli VPNSummary
  ```
- This will display the XML query and response, helping you understand the necessary calls.

## Step 2: Change XML-RPC function support

- Use the following command to change the XML-RPC support level:

  ```
  sacli --key "xmlrpc.relay_level" --value <NUMBER> ConfigPut
  sacli start
  ```

  Replace **\<NUMBER\>** with one of the following values:

  - 0 — Disable XML-RPC API entirely, which breaks server-locked profile-type connections.
  - 1 — Enable limited XML-RPC API for server-locked profile-type connections only (default).
  - 2 — Fully enable XML-RPC API, allowing full remote control of Access Server's functions.

## Step 3: Restart the server

- Ensure the changes take effect by restarting the Access Server service:

  ```
  sacli start
  ```

By following these steps, you can configure and utilize the XML-RPC interface on your Access Server, allowing for enhanced remote management capabilities.

---

Prev: [Tutorial: Generate a Tech Support Report in Access Server](https://openvpn.net/as-docs/v3/tutorials/tutorial--tech-support-report.md)
Next: [Tutorial: Adjusting Authentication and Database Connection Settings](https://openvpn.net/as-docs/v3/tutorials/tutorial--authentication-and-db-connection-settings.md)
Index: https://openvpn.net/as-docs/llms.txt
