Resource Center/Hardware/Host Operations
POSTHost OperationsSince 4.7.0SynchronousAuth Required
GetHostWebSshUrl
GetHostWebSshUrl
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
paramsObjectRequiredRequest body parameter object.
uuidStringRequiredThe resource UUID.
httpsBooleanNo description provided.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/hosts/webssh
/zstack/v1/hosts/webssh
Request Example
curl -X POST 'http://{host}/zstack/v1/hosts/webssh' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"params":{"uuid":"<uuid>","https":true},"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "url": "ws://{{ip}}:8888/ws?id\u003d140147795208568" }Change History
This API has no change history records yet.
