Toshl Developer

Reorder budgets

Move a budget to a new position in the list.

POST /budgets/{id}/move

Required scope:

Parameters

position
required
integer

New budget position.

Minimum: >= 0

Request

$ curl https://api.toshl.com/budgets/42 \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{"position": 1}'

Response

HTTP/1.1 204 No Content