Api reference
PUT Mcps Id Machine State
PUT
/v1/mcps/{id}/machine-stateAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
enabled*boolean
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/mcps/string/machine-state" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "machineId": "string", "server": { "id": "string", "name": "string", "kind": "managed", "canEdit": true, "canRemove": true, "transport": "http", "url": "string", "command": "string", "args": [ "string" ], "headerNames": [ "string" ], "environmentNames": [ "string" ], "enabled": true, "authType": "none", "oauthScope": "string", "connectionState": "disconnected", "toolCount": 0, "detail": "string", "catalogId": "string", "catalogVersion": "string", "capabilities": { "tools": [ { "name": "string", "description": "string", "effects": "read", "app": true } ], "events": [ { "name": "string", "description": "string" } ], "skills": [ { "name": "string", "description": "string" } ], "panes": [ { "type": "string", "title": "string", "resourceUri": "string" } ], "ingress": [ { "name": "string", "title": "string", "route": "string" } ] }, "ageRating": 4, "createdAt": "string", "updatedAt": "string" }, "disabledHere": true, "enabled": true}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}