Toshl Developer

Delete entry

Delete an entry. Some related data is updated asynchronously. If entry is part of a repeat clients can set an additional GET parameter delete which dictates which entries in the repeat to delete. Possible values are:

all Deletes all entries in the repeat.
one Deletes only the sent entry.
tail Deletes the sent entry and all following.

If delete parameter is not specified the default value is all.

DELETE /entries/{id}

Required scope:

Parameters

id *
required
string

Entry id.

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/entries/42 \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -X DELETE

Response

HTTP/1.1 204 No Content