Change DuckDuckGo bang behavior
Deprecated
/api/users/ddg-bangsDeprecated: use PATCH /api/users/search-preferences instead. Enable or disable DuckDuckGo bangs for a user. Users can update themselves; updating another user requires admin permission.
Authorization
apikey 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/ddg-bangs" \ -H "Content-Type: application/json" \ -d '{ "ddgBangs": true, "id": "string" }'nullUpdate header preferences
Replace a user's header layout and display preferences. New board shortcuts must reference boards the target user can view; existing shortcuts may be retained. Users can update themselves; updating another user requires admin permission.
Change the first day of the week
Set a user's preferred first day of the week. Users can update themselves; updating another user requires admin permission.