Self Help Documentation
< All Topics

server/listresourceusage

Description

Lists server resource usage of all created SPanel user accounts for a given date.

Parameters

Additional parameters:

FieldTypeRequiredDescription
tokenstringYesAuthorizing API token – check API Basics for more information.
actionstringYesThe category and function being executed.
usernamestringNoExisting SPanel user to request data for.
typestringNoType of data requested. Accepted values: “daily”, “weekly” or “monthly”. Defaults to “daily”.
datestringNoDate to look resource usage for, applicabe for “daily” type. Defaults to today’s date. Format: d.m.Y.
weekstringNoRequired if “type” is set to “weekly”. Week number to look data for.
yearstringNoRequired if “type” is set to “weekly” or “monthly”. Year to look data for.
monthstringNoRequired if “type” is set to “monthly”. Format: 1 to 12. Month to look data for.

Example

Output

Table of Contents