Skip to main content
PATCH
Patches the tenant’s stored preference defaults. Swap settings live under the swap namespace: slippageBps, priceImpactBps, and thresholdUsd (minimum swap size in USD).
  • Auth: x-api-key header (required)
  • Required scope: tenant:write
Schedule is per-strategy — set it via PUT /v2/strategies/{strategyId}/schedule.

Patch semantics

Patches are applied per inner field within swap:
  • Omitted field — preserve the current value
  • Explicit null — clear the field (revert to “not configured”)
  • Explicit value — set the field
Empty body {} and { "swap": {} } are both 200 no-ops. Sending { "swap": { "slippageBps": null } } clears slippageBps while leaving priceImpactBps and thresholdUsd untouched.