Toshl Developer

Delete category

Delete a category.

Some related data is updated asynchronously. Clients can set an additional GET parameter immediate_update which dictates that those values should be updated immediately in current request. Such a request may take longer to complete.

DELETE /categories/{id}

Required scope:

Parameters

id *
required
string

Category id.

* denotes required field/parameter.

Request

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

Response

HTTP/1.1 204 No Content