Skip to content

Restart the Trustgrid node service process

Request

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
Path
nodeIDstringrequired

Node ID

Query
waitinteger

Pass 1 to block until the node responds and return its output.

Value:1
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/node/{nodeID}/trigger/node-restart-service?wait=1' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
outputobject
Response
{ "output": { "message": "Node service will restart" } }