Distributed
Remove peer from the cluster
Changed onTries to remove peer from the cluster. Will return an error if peer has shards on it.
delete/cluster/peer/{peer_id}
Request
- Base URLhttp://localhost:6333
- Auth
- API key in header api-key
- or HTTP bearer
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
peer_idinteger required
Id of the peer
Query parameters
timeoutinteger
Wait for operation commit timeout in seconds. If timeout is reached - request will return with service error.
forceboolean
If true - removes peer even if it has shards/replicas on it.
Response
successful operation
Example response
{
"time": 0.002,
"status": "ok"
}Changes
- warning
for the
queryrequest parametertimeout, the min was set to1.00
- warning
- info
added the new optional
queryrequest parametertimeout - info
added to the
response propertyanyOflist for the response status - info
removed from the
response propertyanyOflist for the response status
- info