PATCH /v1/agents/{agentId}/capabilities
PATCH/v1/agents/{agentId}/capabilities
Update agent capabilities
Request body
| Naam | Type | Beschrijving |
|---|
capabilitiesvereist | string[] | |
Padparameters
| Naam | Type | Beschrijving |
|---|
agentIdvereist | string | |
Voorbeeld
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": []
});
Antwoordcodes
| HTTP |
Betekenis |
200 |
Default Response |