此操作用来删除服务器targetPortalIP配置。
请求语法
DELETE /rest/v1/system/server/serverId/targetportalIP HTTP/1.1
Date:date
Host: ip:port
Authorization:authorization
请求参数
参数 描述 是否必须 serverId 要删除targetPortalIP配置的服务器ID
类型:字符串
是
请求示例
删除hblock_1的iSCSI目标门户IP。
DELETE /rest/v1/system/server/hblock_1/targetportalIP HTTP/1.1
Date: Thu, 17 Mar 2022 01:01:08 GMT
Authorization: HBlock userName:signature
Host: 192.168.0.121:1443
响应示例
HTTP/1.1 204 No Content
x-hblock-request-id: 821c5921163f47d292aa281887c551f3
Connection: keep-alive
Date: Thu, 17 Mar 2022 01:01:09 GMT
Server: HBlock