Update a deployed endpoint's config
update_endpointChange a deployed endpoint's settings in place—auth mode, enabled state, allowed verbs, scopes, notes—without redeploying. Preview changes first, then confirm to apply.
Instructions
Updates a deployed endpoint's config in place — isMain, isEnabled, allowedVerbs, detailedOutput, isAnonymous, authMode, requiredScopes and/or notes — without a full redeploy. Only the fields you pass are changed; omit the rest. authMode decides who may call it: anonymous, apiKey, user (a visitor signed in to the site), jwt (a token from one of the domain's API clients — create_domain_client — or a trusted issuer — set_trusted_issuer), apiKeyOrJwt. Powerful (can change security posture, e.g. isAnonymous, or take live traffic down via allowedVerbs/isEnabled): requires confirm=true — first call WITHOUT confirm to preview the exact changes, then again with confirm:true.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"endpointId": "<endpointId>"
},
"name": "update_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| isMain | No | Make this the main version for its path. | |
| confirm | No | Must be true to apply. Omit/false returns a preview only. | |
| authMode | No | Who may call it. Wins over isAnonymous when both are sent. | |
| isEnabled | No | Enable/disable — same effect as toggle_endpoint but to a specific state. | |
| endpointId | Yes | The endpoint's id — from list_endpoints. | |
| isAnonymous | No | ||
| allowedVerbs | No | ||
| detailedOutput | No | ||
| requiredScopes | No | Space-separated scopes a jwt / apiKeyOrJwt token must ALL carry, e.g. "orders:read". "" clears. |