Skip to main content
PATCH
/
mcp-server
/
instance
/
{instanceId}
Update
curl --request PATCH \
  --url https://api.klavis.ai/mcp-server/instance/{instanceId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "isReadOnly": true
}
'
{
  "instanceId": "<string>",
  "isReadOnly": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

instanceId
string<uuid>
required

The ID of the connection integration instance to update.

Body

application/json
isReadOnly
boolean | null

Whether the MCP server connection is read-only. When true, write operations will be restricted.

Response

Successful Response

instanceId
string
required

The unique identifier of the updated connection integration instance.

isReadOnly
boolean
required

The current read-only status of the connection.

message
string
required

A message indicating the result of the update operation.