portal

Update Adapter

Update hosted adapter configuration including price, pricing scheme, trial budget, and limits.

SWEEP FIX: every path alias — including the bare, unprefixed /adapters/{id} — now requires a verified producer token that owns the adapter's org. The bare alias used to pass auth_required=False (a path-based carve-out with no documented rationale), so an anonymous caller who enumerated adapter_id off the fully public GET /v1/discovery listing could rewrite upstream_url (redirecting live trial/consumer traffic to an attacker-controlled host), flip is_active, or alter pricing/commission for ANY adapter with zero authentication. There is no legitimate anonymous caller of this route.

patch/portal/adapters/{adapter_id}

Request

  • Base URL: https://app.teetra.com (the document declares no server; this is the origin it was published from)
  • URL: https://app.teetra.com/portal/adapters/{adapter_id}
  • Auth: none declared

Path parameters

adapter_idstring required

Request body

trial_budget_centsinteger nullable
trial_budget_usdnumber nullable
trial_call_limitinteger nullable
rate_limit_per_mininteger nullable
upstream_urlstring nullable
is_activeboolean nullable
pricing_schemestring nullable
price_centsinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.