更新实例的健康状态
PUT
/nacos/v1/ns/health/instance
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'http://127.0.0.1:8848/nacos/v1/ns/health/instance?serviceName={{serviceName3}}&ip={{ip}}&port=8848&healthy=true'
Response Response Example
ok
Request
Query Params
namespaceId
string
optional
Example:
n1
serviceName
string
required
Example:
{{serviceName3}}
groupName
string
optional
clusterName
string
optional
ip
string
required
Example:
{{ip}}
port
string
required
Example:
8848
healthy
string
required
Example:
true
Responses
Modified at 2022-11-14 02:31:26