Move account
Move an account to a new position in the list.
POST /accounts/{id}/move
Required scope:
- accounts:rw
Parameters
position * required integer
|
New account position. Minimum:>= 0 |
* denotes required field/parameter.
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