Requests

Remove a request

DEL/api/requests/{id}
Admin. Needs an unlock token (x-tempolight-token) while a PIN lock is set; without a lock, anyone can call it.

Removes one request.

Path parameters

idstringrequired

A request id (r…).

Responses

200OKapplication/json
oktruerequired
403Locked, or not allowed.application/json
errorstringrequired

What went wrong, in a sentence for people.

404No such id.application/json
errorstringrequired

What went wrong, in a sentence for people.

Request
curl -X DELETE 'http://localhost:8080/api/requests/id'
Response
{
  "ok": true
}
Edit on GitHub