WGDashboard Documentation Help

Update WGDashboard Configuration Item

Request

POST /api/updateDashboardConfigurationItem

Body Parameters

{ "section": "Server", "key": "dashboard_theme", "value": "dark" }

Parameter

Type

section

string

Each section in the wg-dashboard.ini

key

string

Each key/value pair under each in the wg-dashboard.ini

value

string

Value for this key/value pair

Response

200 - OK

If update is success

{ "data": true, "message": null, "status": true }

If update failed

{ "data": true, "message": "Message related to the error will appear here", "status": false }
Last modified: 23 September 2024