@@ -30723,6 +30723,210 @@
3072330723 }
3072430724 }
3072530725 },
30726+ "/api/teams/{teamId}/mcp/installations/{installationId}/reset-token": {
30727+ "post": {
30728+ "summary": "Reset instance connection token",
30729+ "tags": [
30730+ "MCP Installations"
30731+ ],
30732+ "description": "Regenerates the connection token for the current user's instance. The old token is immediately invalidated.",
30733+ "parameters": [
30734+ {
30735+ "schema": {
30736+ "type": "string",
30737+ "minLength": 1
30738+ },
30739+ "in": "path",
30740+ "name": "teamId",
30741+ "required": true,
30742+ "description": "Team ID that owns the installation"
30743+ },
30744+ {
30745+ "schema": {
30746+ "type": "string",
30747+ "minLength": 1
30748+ },
30749+ "in": "path",
30750+ "name": "installationId",
30751+ "required": true,
30752+ "description": "Installation ID"
30753+ }
30754+ ],
30755+ "security": [
30756+ {
30757+ "cookieAuth": []
30758+ },
30759+ {
30760+ "bearerAuth": []
30761+ }
30762+ ],
30763+ "responses": {
30764+ "200": {
30765+ "description": "Token reset successfully",
30766+ "content": {
30767+ "application/json": {
30768+ "schema": {
30769+ "type": "object",
30770+ "properties": {
30771+ "success": {
30772+ "type": "boolean",
30773+ "description": "Indicates if the token was reset successfully"
30774+ },
30775+ "data": {
30776+ "type": "object",
30777+ "properties": {
30778+ "instance_token": {
30779+ "type": "string",
30780+ "description": "New plaintext instance token"
30781+ }
30782+ },
30783+ "required": [
30784+ "instance_token"
30785+ ]
30786+ }
30787+ },
30788+ "required": [
30789+ "success",
30790+ "data"
30791+ ],
30792+ "description": "Token reset successfully"
30793+ }
30794+ }
30795+ }
30796+ },
30797+ "400": {
30798+ "description": "Bad Request - Invalid input or validation error",
30799+ "content": {
30800+ "application/json": {
30801+ "schema": {
30802+ "type": "object",
30803+ "properties": {
30804+ "success": {
30805+ "type": "boolean",
30806+ "default": false,
30807+ "description": "Indicates the operation failed"
30808+ },
30809+ "error": {
30810+ "type": "string",
30811+ "description": "Error message describing what went wrong"
30812+ }
30813+ },
30814+ "required": [
30815+ "success",
30816+ "error"
30817+ ],
30818+ "description": "Bad Request - Invalid input or validation error"
30819+ }
30820+ }
30821+ }
30822+ },
30823+ "401": {
30824+ "description": "Unauthorized - Authentication required or invalid token",
30825+ "content": {
30826+ "application/json": {
30827+ "schema": {
30828+ "type": "object",
30829+ "properties": {
30830+ "success": {
30831+ "type": "boolean",
30832+ "default": false,
30833+ "description": "Indicates the operation failed"
30834+ },
30835+ "error": {
30836+ "type": "string",
30837+ "description": "Error message describing what went wrong"
30838+ }
30839+ },
30840+ "required": [
30841+ "success",
30842+ "error"
30843+ ],
30844+ "description": "Unauthorized - Authentication required or invalid token"
30845+ }
30846+ }
30847+ }
30848+ },
30849+ "403": {
30850+ "description": "Forbidden - Insufficient permissions or scope",
30851+ "content": {
30852+ "application/json": {
30853+ "schema": {
30854+ "type": "object",
30855+ "properties": {
30856+ "success": {
30857+ "type": "boolean",
30858+ "default": false,
30859+ "description": "Indicates the operation failed"
30860+ },
30861+ "error": {
30862+ "type": "string",
30863+ "description": "Error message describing what went wrong"
30864+ }
30865+ },
30866+ "required": [
30867+ "success",
30868+ "error"
30869+ ],
30870+ "description": "Forbidden - Insufficient permissions or scope"
30871+ }
30872+ }
30873+ }
30874+ },
30875+ "404": {
30876+ "description": "No instance found for this user and installation",
30877+ "content": {
30878+ "application/json": {
30879+ "schema": {
30880+ "type": "object",
30881+ "properties": {
30882+ "success": {
30883+ "type": "boolean",
30884+ "default": false,
30885+ "description": "Indicates the operation failed"
30886+ },
30887+ "error": {
30888+ "type": "string",
30889+ "description": "Error message describing what went wrong"
30890+ }
30891+ },
30892+ "required": [
30893+ "success",
30894+ "error"
30895+ ],
30896+ "description": "No instance found for this user and installation"
30897+ }
30898+ }
30899+ }
30900+ },
30901+ "500": {
30902+ "description": "Internal Server Error",
30903+ "content": {
30904+ "application/json": {
30905+ "schema": {
30906+ "type": "object",
30907+ "properties": {
30908+ "success": {
30909+ "type": "boolean",
30910+ "default": false,
30911+ "description": "Indicates the operation failed"
30912+ },
30913+ "error": {
30914+ "type": "string",
30915+ "description": "Error message describing what went wrong"
30916+ }
30917+ },
30918+ "required": [
30919+ "success",
30920+ "error"
30921+ ],
30922+ "description": "Internal Server Error"
30923+ }
30924+ }
30925+ }
30926+ }
30927+ }
30928+ }
30929+ },
3072630930 "/api/teams/{teamId}/mcp/oauth/callback/{flowId}": {
3072730931 "get": {
3072830932 "tags": [
0 commit comments