View Categories
Servers
42 Docs
Last Updated: August 20, 2026

Set Default PHP Version

Set the given PHP version as the server's default. If already installed flips the OS default synchronously (returns 200); otherwise dispatches an install (returns 202).

Last Updated: August 20, 2026

Patch PHP Version

Apply patch (minor-version bump) for an installed PHP version. Asynchronous — dispatches PatchPHPVersion to the background queue.

Last Updated: August 20, 2026

Toggle OPCache for PHP Version

Enable or disable OPCache for a PHP version. Synchronous over SSH. Requires the write:servers scope and the server:manage-php permission.

Last Updated: August 20, 2026

Reboot Server

Initiates a graceful reboot of the specified server. This is an asynchronous operation — the server will briefly go offline during the reboot process. Requires the write:servers scope.

Last Updated: August 20, 2026

List Server Services

Returns the services managed on the server (Nginx, OpenLiteSpeed, PHP, Redis, Docker, Supervisor, MySQL/MariaDB, etc.) with their current status, version, and whether each can be restarted via the API. The…

Last Updated: August 20, 2026

Restart a Server Service

Restarts a single server service, addressed by name in the request body (e.g. nginx, lsws, php, redis, docker, supervisor, mysql, mariadb). For PHP servers running multiple versions, supply version to…

Last Updated: August 20, 2026

Disable a Server Service

Stops (disables) a single server service, addressed by name in the request body (e.g. nginx, mysql, redis, php, docker). For PHP servers running multiple versions, supply version to disambiguate. Only…

Last Updated: August 20, 2026

List Sudo Users

Returns a paginated list of all sudo users on the specified server. Requires the read:servers scope.

Last Updated: August 20, 2026

Create or Update Sudo User

Creates a new sudo user on the specified server, or updates an existing one if a user with the same username already exists (idempotent). This is an asynchronous operation —…

Last Updated: August 20, 2026

Delete Sudo User

Deletes the specified sudo user from the server. This is an asynchronous operation — the user will be in deleting status until fully removed. Requires the write:servers scope.

This site is registered on wpml.org as a development site. Switch to a production site key to remove this banner.