Homarr
Users

Change widget context menu behavior

PATCH/api/users/right-click-widgets

Enable or disable opening widget context menus with a right click for a user. Users can update themselves; updating another user requires admin permission.

ApiKey<token>

API key which can be obtained in the Homarr administration dashboard

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/users/right-click-widgets" \  -H "Content-Type: application/json" \  -d '{    "enableRightClickOnWidgets": true,    "id": "string"  }'
null