Toshl Developer

Move account

Move an account to a new position in the list.

POST /accounts/{id}/move

Required scope:

Parameters

position
required
integer

New account position.

Minimum: >= 0

Request

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

Response

HTTP/1.1 204 OK