Causes the Trustgrid node agent process to exit and restart. The node will briefly disconnect while the service restarts.
Requires nodes::service:node-restart-service or nodes::remote-execute permission.
Security
JWTAuthorizer
- Mock serverhttps://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/node-restart-service
- https://api.trustgrid.iohttps://api.trustgrid.io/node/{nodeID}/trigger/node-restart-service
curl -i -X POST \
'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/node-restart-service?wait=1' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
{ "output": { "message": "Node service will restart" } }