---
title: "POST /task/restart"
method: POST
path: "/task/restart"
---

# POST /task/restart

`POST /task/restart`

Restarts a task that was previously canceled, that had failed to process or that successfully completed

## Query parameters

- `token` string

## Request body

- string

## Response `200`

Command Received

- Response
  - `success` boolean, required — true if the command succeeded, false otherwise
  - `error` string — Error message if an error occured

## Changes

- **2018-06-25** `b9cd14c7593a` — 1 info
  - added the new optional `query` request parameter `token`
- **2016-09-17** `925546b1586a` — 1 info
  - endpoint added
- **2016-09-14** `e6801fb33734` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/opendronemap/apis/node-opendronemap/changes/task/restart/post.md)

---

[API](https://skmtc.dev/opendronemap/apis/node-opendronemap.md) · [All operations](https://skmtc.dev/opendronemap/apis/node-opendronemap/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opendronemap/node-opendronemap/revisions/34d580ac326e/schema)
