CMDB主机SSH

执行SSH命令

在SSH终端执行命令

get/api/v1/cmdb/hostssh/command/{id}

Request

  • The document declares no server URL.
  • Auth
    API key in header Authorization

Path parameters

idinteger required

主机ID

Query parameters

commandstring required

命令

Response

OK

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

No recorded changes to this operation across all 1 revision of this API.