Toshl Developer

Reorder accounts

Reorder account list.

POST /accounts/reorder

Required scope:

Parameters

order *
required
array

An array of account ids based on new order.

* denotes required field/parameter.

Request

$ curl https://api.toshl.com/accounts/reorder \
  -H "Authorization: Bearer T9cE5asGnuyYCCqIZFoWjFHvNbvVqHjl" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{"order":["42", "43", "44"]}'

Response

HTTP/1.1 204 OK