Change the default search engine
Deprecated
/api/users/changeSearchEngineDeprecated: use PATCH /api/users/search-preferences instead. Updates the default search engine and supplied DuckDuckGo bang preference while preserving the new-tab preference. 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/changeSearchEngine" \ -H "Content-Type: application/json" \ -d '{ "defaultSearchEngineId": "string", "ddgBangsEnabled": true, "userId": "string" }'nullChange user home boards
Set or clear a user's desktop and mobile home boards. The caller must be able to view each selected board. Users can update themselves; updating another user requires admin permission.
Update search preferences
Set a user's default search engine, new-tab behavior, and DuckDuckGo bang preference. Users can update themselves; updating another user requires admin permission.