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).
Optionaloptions: ApiCallOptions
Restarts the specified agent. If a reload is in
RELOADINGstatus therestartaction will be ignored. Useforce-restartto restart the agent even if a reload is inRELOADINGstatus. Requestor must be assigned theTenantAdminrole and needs to be either a Gateway's space owner or a member in the Gateway's space withCan Consume Datarole. Available in Direct Access Gateway V1.7.2+.