---
title: "Update Mcp Token Limit Mapping"
method: PUT
path: "/api/v1/admin/mcp/token-limits/{mapping_id}"
tags: ["Admin APIs", "mcp-token-limits"]
---

# Update Mcp Token Limit Mapping

`PUT /api/v1/admin/mcp/token-limits/{mapping_id}`

## Path parameters

- `mapping_id` string, uuid, required

## Request body

- MCPTokenLimitMappingCreate — Schema for creating MCP token limit mapping
  - `mcp_plan_product_id` string, nullable — Stripe Product ID from Product Catalog
  - `mcp_plan_product_name` string, required — Human-readable name of the MCP plan
  - `token_limit` integer, required — Daily token reset limit for this plan
  - `is_stripe_product` boolean — Whether this maps to a Stripe product
  - `available_for_wholesale` boolean — Whether this non-Stripe tier is offered for wholesale contracts
  - `meta_data` object, nullable — Additional plan configuration and metadata

## Response `200`

Successful Response

- MCPTokenLimitMappingRead — Schema for reading MCP token limit mapping
  - `mcp_plan_product_id` string, nullable — Stripe Product ID from Product Catalog
  - `mcp_plan_product_name` string, required — Human-readable name of the MCP plan
  - `token_limit` integer, required — Daily token reset limit for this plan
  - `is_stripe_product` boolean — Whether this maps to a Stripe product
  - `available_for_wholesale` boolean — Whether this non-Stripe tier is offered for wholesale contracts
  - `meta_data` object, nullable — Additional plan configuration and metadata
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `created_by` string, nullable
  - `updated_by` string, nullable
  - `in_use_count` integer — Active plans / contract tiers referencing this entry

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api.md) · [All operations](https://skmtc.net/carbonarc/apis/carbon-arc-client-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/carbonarc/carbon-arc-client-admin-api/revisions/a8ca30023371/schema)
