Our documentation is getting an overhaul! We would like your input! Click here to take a look at the beta launch of our new documentation site! Only cPanel & WHM version 82 documentation exists on our beta at this time. 84 will be added to the new site soon! Leave your feedback here: https://go.cpanel.net/docsfeedback
Guide to Replacing cPanel API 1 Functions with UAPI Equivalents - Developer Documentation - cPanel Documentation
Child pages
  • Guide to Replacing cPanel API 1 Functions with UAPI Equivalents
Skip to end of metadata
Go to start of metadata

Introduction

This document lists the UAPI functions which replace previously-deprecated cPanel API 1 functions. We introduced UAPI in cPanel & WHM version 11.42. As we developed additional UAPI functions, we created equivalents to some cPanel API 1 functions. With cPanel & WHM versions 82, 84, and 86, we will develop new UAPI modules and functions. These new modules and functions replace any cPanel API 1 functions without a current equivalent.

We plan to remove the cPanel API 1 framework in cPanel & WHM version 88. We strongly recommend anyone using any of these cPanel API 1 functions to use UAPI instead.

UAPI functions and legacy equivalents

The following tables list the cPanel API 1 functions with their UAPI equivalents.

BoxTrapper

Fileman

cPanel API 1 functionUAPI Function
Fileman::restoredbBackup::restore_databases

Gpg

ImageManager

LogManager

MySQL®

PostgreSQL®

ServerInformation

SetLang

Important:

We removed the SetLang cPanel API 1 module in cPanel & WHM version 82.

Stats