PATCH /v1/agents/{agentId}/capabilities
PATCH/v1/agents/{agentId}/capabilities
Update agent capabilities
Request body
| Name | Type | Description |
|---|
capabilitiesrequired | string[] | |
Path parameters
| Name | Type | Description |
|---|
agentIdrequired | string | |
Example
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": []
});
Response codes
| HTTP |
Meaning |
200 |
Default Response |