The agent ID
The type of action to perform. Permitted values are restart
(will not restart the agent if a reload is in RELOADING
status) and force-restart
(will restart the agent even if a reload is in RELOADING
status).
Optional
options: ApiCallOptions
Restarts the specified agent. If a reload is in
RELOADING
status therestart
action will be ignored. Useforce-restart
to restart the agent even if a reload is inRELOADING
status. Requestor must be assigned theTenantAdmin
role and needs to be either a Gateway's space owner or a member in the Gateway's space withCan Consume Data
role. Available in Direct Access Gateway V1.7.2+.