PATCH /v1/controls

Adjust selected global controls or remove them to inherit built-in defaults.

patch

Modify specific global controls by supplying only the fields you want to change in the "update" object, or list control names in the "remove" array to clear them back to their default values. Controls not mentioned in either key remain unchanged.

Authorizations
Body
updateall ofOptional
removestring[]Optional

List of control names to clear.

Responses
200

Success

application/json
patch
PATCH /v1/controls HTTP/1.1
Host: api.odinbot.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 565

{
  "update": {
    "tradeSizeLamports": 1,
    "tradeSpeed": "Standard",
    "sellStrategy": "SellAll",
    "maxBuysPerMirrorPerHour": 3,
    "maxBuysPerMirrorPerDay": 3,
    "maxBuysPerTokenPerDay": 1,
    "maxBuysPerTokenPerWeek": 5,
    "allowPumpFun": true,
    "snipeLaunchpadLaunches": true,
    "launchpadLaunchSnipeTradeSizeSol": 0.2,
    "mevProtection": "Fastest",
    "degenMode": true,
    "allowBuys": true,
    "buyStrategy": "Constant",
    "ssMinBuy": 0.05,
    "ssPercent": 50,
    "ssMaxBuy": 2,
    "crossMirrorPrevention": true,
    "pfSlippage": 15,
    "buyExtraTipPct": 2,
    "sellExtraTipPct": 1,
    "minMcUsd": 1,
    "maxMcUsd": 1,
    "autoSellProfileKey": "text"
  },
  "remove": [
    "text"
  ]
}
{
  "message": "Success"
}

Last updated

Was this helpful?