MCP
Update an MCP upstream
PATCH
/api/w/:wid/mcp-upstreams/:uidChange any field. Send auth.secret to rotate the credential. Repointing to another origin or swapping the credential is a new application version a second person confirms.
#Authentication
Session cookie
A signed-in person: the console's session cookie. Every state-changing request also carries the header x-immiscible-csrf: 1, and the member's role decides what it may do. Bearer tokens are ignored on these routes, so no machine credential can reach them.
#Path parameters
widstringrequired
Workspace id
uidstringrequired
MCP upstream id