Self Help Documentation
< All Topics

accounts/listuserpermissions

Description

Lists all available user permissions. This list is pulled real-time directly from the SPanel system.
Alias of user/listuserpermissions for admin usage.

Parameters

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
actionstringYesThe category and function being executed.
labelsboolNoDefault: false (unset). If set to true, API call results will include human-readable labels for each category and its pages.

Warning
The user permissions are subject to change overtime as we add new features to SPanel. A good idea is to run a cron to update these permissions in your system regularly if you are using some form of caching.

Info
Please note that the permission list differs from the categories and pages placement that you can see in the SPanel UI because of the way the functions are organized into categories in the SPanel API.

Example

You can find more information about the Endpoint URL in our API Basics article.

Output

Table of Contents