Homarr
Users

Change DuckDuckGo bang behavior

Deprecated

PATCH/api/users/ddg-bangs

Deprecated: 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.

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/ddg-bangs" \  -H "Content-Type: application/json" \  -d '{    "ddgBangs": true,    "id": "string"  }'
null