Skip to content

Reboot Server

Trigger a reboot of your Traccar server instance.

PROCEED WITH CAUTION.

  • This endpoint is restricted to admin users only.
  • During the reboot, new device positions may not be recorded in the data.

Request

Use the ThingsTelemetry\Traccar\Facades\Server::reboot() method to reboot the server.

php
use ThingsTelemetry\Traccar\Facades\Server;

$result = Server::reboot();

Results

The response is an instance of ThingsTelemetry\Traccar\Dto\StatusData.

php
$status = $result->status->value; // "success"

Released under the MIT License.