CMDB主机SSH

上传文件到SSH服务器

上传本地文件到远程SSH服务器

post/api/v1/cmdb/hostssh/upload/{id}

Request

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

Path parameters

idinteger required

主机ID

Request body multipart/form-data

filestring binary required

要上传的文件

destPathstring required

远程服务器目标路径

Response

OK

codeinteger

状态码

dataunknown
messagestring

提示信息

Changes

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