MCPBundler Docs
MCPBundler Docs
Volver al marketplacePrimeros PasosAutenticacionTutorial - De un Bundle a un Agente Conectado
API Reference
Agent A2A Tools
Agent Channels
Agent Configuration (Staging)
Agent Configuration (Versions)
Agent Tools
Agents
Auth
Billing
Bundler
Bundler Tool
Bundles
Call Campaigns
Catalog
Conversations
Credentials
Deployments
Bootstrap Agent DeploymentCreate DeploymentRemove Entry CredentialDelete DeploymentGenerate TokenGet DeploymentBind CredentialList Credential MetadataList DeploymentsRename DeploymentRevoke TokenUnbind CredentialUpdate Router ConfigUpdate Token AllowlistsWrite Credential
Discover
Embedding
Fleet
Knowledge Bases
LLM
MCP Listings
Media
OAuth Clients
OAuth2
Observability
Organisations
Realtime
Reviews
Roadmap
SCIM
STT
Suppression
Triggers
TTS
Users
Utils
Voices
Webhooks
Workflows
API ReferenceDeployments

Update Token Allowlists

PATCH
/v1/deployments/{deployment_id}/tokens/{token_id}

Update a token's domain, IP, and/or region allowlists. These are general-purpose access controls, not specific to any one caller - an empty list means no restriction of that kind.

Authorization

OAuth2AuthorizationCodeBearer
AuthorizationBearer <token>

In: header

Path Parameters

deployment_id*Deployment Id
Formatuuid
token_id*Token Id
Formatuuid

Query Parameters

verify_locally?Verify Locally
Defaulttrue

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Independently optional, matching AgentPatchIn's evaluation-settings group: each of the three columns is a non-nullable JSONB with an empty-list default, so an omitted field here means "don't touch it" and an explicit [] means "clear it" - no forced-pair validator needed.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/tokens/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "created_at": "2019-08-24T14:15:22Z",  "last_used_at": "2019-08-24T14:15:22Z",  "revoked": false,  "expires_at": "2019-08-24T14:15:22Z",  "allowed_domains": [    "string"  ],  "allowed_ips": [    "string"  ],  "allowed_regions": [    "string"  ]}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}

Update Router Config

Previous Page

Write Credential

Next Page

allowed_domains?array<string>|null
allowed_ips?array<string>|null
allowed_regions?array<string>|null