PUT /mltk/mcp_connection

PUT /mltk/mcp_connection

Update a connection by name.

  • AGENT_CONNECTION_CAPABILITIES

Description. Update a connection by name. Any field with value ***MASKED*** is preserved (the saved value is kept). For ATLASSIAN, toggling is_auto_refresh_enabled resets the refresh clock.

Example.

curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" -X PUT 
  -H "Content-Type: application/json" 
  --data @- "$SPLUNK_HOST/servicesNS/nobody/Splunk_ML_Toolkit/mltk/mcp_connection?output_mode=json" <<'JSON'
{
  "name": "splunk_mcp",
  "description": "Updated description",
  "details": {
    "url":   "https://new.example.com/services/mcp",
    "token": "***MASKED***"
  }
}
JSON

Press Cmd/Ctrl+K to focus search. Esc to close.

Type to search the portal.