API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen

PATCH /v1/agents/{agentId}/capabilities

PATCH/v1/agents/{agentId}/capabilities

Update agent capabilities

Request Body

NameTypBeschreibung
capabilitieserforderlichstring[]

Pfad-Parameter

NameTypBeschreibung
agentIderforderlichstring

Beispiel

curl -X PATCH https://api.codemeta-os.de/v1/agents/{agentId}/capabilities \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "capabilities": []
}'
const result = await cm.agents.patch({
  "capabilities": []
});

Antwortcodes

HTTP Bedeutung
200 Default Response

Suche