CLI

Get the current network interface settings

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
Array of objects (NetworkSetting)
Array
DeviceName
string

The name of the network interface.

IPAddress
string

The IP address currently assigned to the network interface.

Type
string

Indicates whether the interface is configured with a static IP address or obtains one via DHCP.

Enum: "Static" "DHCP"
Network
string

Friendly-name of the network the interface is connected to (e.g. AP Mode, LAN).

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/cli/networkSettings
Request samples
Response samples
application/json
{
  • "NetworkSettings": [
    ]
}

Get the status of system services

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
Array
ServiceName
string

The name of the system service.

Status
string

The current status of the system service.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/cli/statusServices
Request samples
Response samples
application/json
[
  • {
    }
]

Restart all or specific system services

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Restart all or specific system services

TargetType
string

Indicates whether to restart all services, or only the services listed in Services.

Enum: "all" "specific"
Services
Array of strings

The list of specific service names to restart. Only used when TargetType is specific.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/cli/restartServices
Request samples
application/json
{
  • "TargetType": "all",
  • "Services": [
    ]
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Reboot the system

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/cli/reboot
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Get all scheduled shutdowns

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
Array
ScheduledShutdownID
string <uuid>

Unique identifier for the scheduled shutdown.

Time
string

The time of day (24-hour HH:mm) at which the scheduled shutdown occurs.

DayOfWeek
integer [ 0 .. 6 ]

The day of the week the scheduled shutdown occurs on, where 0 is Sunday.

IsActive
boolean

Indicates whether the scheduled shutdown is currently active.

TimeZoneId
string

The IANA time zone identifier the Time value is expressed in.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/cli/scheduled-shutdown
Request samples
Response samples
application/json
[
  • {
    }
]

Create a scheduled shutdown

SecurityOAuth2 or ApiKey
Request
Request Body schema: application/json

Create a scheduled shutdown

Time
string

The time of day (24-hour HH:mm) at which the scheduled shutdown occurs.

DayOfWeek
integer [ 0 .. 6 ]

The day of the week the scheduled shutdown occurs on, where 0 is Sunday.

IsActive
boolean

Indicates whether the scheduled shutdown is currently active.

TimeZoneId
string

The IANA time zone identifier the Time value is expressed in.

Responses
200

Response success

Response Schema: application/json
ScheduledShutdownID
string <uuid>

Unique identifier for the scheduled shutdown.

Time
string

The time of day (24-hour HH:mm) at which the scheduled shutdown occurs.

DayOfWeek
integer [ 0 .. 6 ]

The day of the week the scheduled shutdown occurs on, where 0 is Sunday.

IsActive
boolean

Indicates whether the scheduled shutdown is currently active.

TimeZoneId
string

The IANA time zone identifier the Time value is expressed in.

400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

422

Invalid data was sent.

post/modules/cli/scheduled-shutdown
Request samples
application/json
{
  • "Time": "02:00",
  • "DayOfWeek": 0,
  • "IsActive": true,
  • "TimeZoneId": "UTC"
}
Response samples
application/json
{
  • "ScheduledShutdownID": "c1c04bb1-e046-4b97-ac35-7a74bc8d1039",
  • "Time": "02:00",
  • "DayOfWeek": 0,
  • "IsActive": true,
  • "TimeZoneId": "UTC"
}

Get a specific scheduled shutdown

SecurityOAuth2 or ApiKey
Request
path Parameters
ScheduledShutdownID
required
string

ID of the scheduled shutdown

Responses
200

Response success

Response Schema: application/json
ScheduledShutdownID
string <uuid>

Unique identifier for the scheduled shutdown.

Time
string

The time of day (24-hour HH:mm) at which the scheduled shutdown occurs.

DayOfWeek
integer [ 0 .. 6 ]

The day of the week the scheduled shutdown occurs on, where 0 is Sunday.

IsActive
boolean

Indicates whether the scheduled shutdown is currently active.

TimeZoneId
string

The IANA time zone identifier the Time value is expressed in.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

get/modules/cli/scheduled-shutdown/{ScheduledShutdownID}
Request samples
Response samples
application/json
{
  • "ScheduledShutdownID": "c1c04bb1-e046-4b97-ac35-7a74bc8d1039",
  • "Time": "02:00",
  • "DayOfWeek": 0,
  • "IsActive": true,
  • "TimeZoneId": "UTC"
}

Update a scheduled shutdown

SecurityOAuth2 or ApiKey
Request
path Parameters
ScheduledShutdownID
required
string

ID of the scheduled shutdown

Request Body schema: application/json

Update a scheduled shutdown

Time
string

The time of day (24-hour HH:mm) at which the scheduled shutdown occurs.

DayOfWeek
integer [ 0 .. 6 ]

The day of the week the scheduled shutdown occurs on, where 0 is Sunday.

IsActive
boolean

Indicates whether the scheduled shutdown is currently active.

TimeZoneId
string

The IANA time zone identifier the Time value is expressed in.

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
400

Malformed request.

401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

422

Invalid data was sent.

put/modules/cli/scheduled-shutdown/{ScheduledShutdownID}
Request samples
application/json
{
  • "Time": "02:00",
  • "DayOfWeek": 0,
  • "IsActive": true,
  • "TimeZoneId": "UTC"
}
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Delete a scheduled shutdown

SecurityOAuth2 or ApiKey
Request
path Parameters
ScheduledShutdownID
required
string

ID of the scheduled shutdown

Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

404

Resource was not found.

delete/modules/cli/scheduled-shutdown/{ScheduledShutdownID}
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Get system storage information

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
property name*
additional property
any
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/cli/storageInfo
Request samples
Response samples
application/json
{ }

Clear the system logs

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/cli/clearSystemLogs
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}

Get the NTP synchronization status

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
property name*
additional property
any
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

get/modules/cli/ntpstatus
Request samples
Response samples
application/json
{ }

Restart the network manager service

SecurityOAuth2 or ApiKey
Responses
200

Response success

Response Schema: application/json
status
integer [ 200 .. 202 ]

The HTTP status code.

success
boolean
401

Unauthorized access, invalid credentials were used.

403

Access forbidden. Current token does not have the necessary authority for the operation.

post/modules/cli/restartnetworkmanager
Request samples
Response samples
application/json
{
  • "status": 200,
  • "success": true
}