API-Schlüssel abrufen
MCP

PATCH /api/ai/mcp/:name

PATCH https://api.iagenify.com/api/ai/mcp/NAME

Referenz für PATCH /api/ai/mcp/:name.

Authentifizierung erforderlichkein JSON-Anfragetext

HTTP-Anfrage

curl https://api.iagenify.com/api/ai/mcp/NAME -X PATCH -H "Authorization: Bearer $IAGENIFY_TOKEN"

JavaScript

const response = await fetch("https://api.iagenify.com/api/ai/mcp/NAME", {
  method: "PATCH",
  headers: { Authorization: `Bearer ${process.env.IAGENIFY_TOKEN}` }
});
const result = await response.json();
if (!response.ok) throw new Error(result.error);

Python

import os
import requests

response = requests.request("PATCH", "https://api.iagenify.com/api/ai/mcp/NAME", headers={"Authorization": "Bearer " + os.environ["IAGENIFY_TOKEN"]}, timeout=30)
response.raise_for_status()
result = response.json()

Pfadparameter

namestringerforderlich

Wert für :name.

Antwort und Fehler

Bei Erfolg gibt der Endpunkt JSON zurück.