---
title: "Update Adapter"
method: PUT
path: "/v1/adapters/{adapter_id}"
tags: ["portal"]
---

# Update Adapter

`PUT /v1/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/v1/adapters/{adapter_id}`
- Auth: none declared

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.

## Path parameters

- `adapter_id` string, required

## Request body

- AdapterUpdateRequest
  - `trial_budget_cents` integer, nullable
  - `trial_budget_usd` number, nullable
  - `trial_call_limit` integer, nullable
  - `rate_limit_per_min` integer, nullable
  - `upstream_url` string, nullable
  - `is_active` boolean, nullable
  - `pricing_scheme` string, nullable
  - `price_cents` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/teetra/apis/warrant.md) · [All operations](https://skmtc.dev/teetra/apis/warrant/llms.txt) · [OpenAPI document](https://skmtc.dev/teetra/apis/warrant/revisions/a33505db716f?raw)
