Patch Agent Mcp Connection
Partial-update one external MCP connection by name.
URL-encode name in the path so characters such as spaces survive.
Changing authMode in a patch switches the connection to that auth
variant; the merged connection is re-validated in full, so a patch can
never leave it with an unknown or incomplete auth mode.
PATCH
/agents/connections/mcp/{name}Authorization
AuthorizationBearer token · headerrequiredPath parameters
namestringrequiredRequest body
requiredapplication/jsonobjectResponses
200
Successful Response
object422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject