Reset Password
Check your e-mail for further instructions.
Reset
Name
collection_move
Auth
yes
Description
Changes the position of an item in a given colleciton, owned by the current user.
URL
https://api.pcloud.com/collection_move
Required
| Parameter | Description |
| collectionid | int the id of the collection. |
| item | int the position of the item in the collection. |
| fileid | int the id of the file to be moved in the collection. |
| position | int the position to which the items to be placed. |
Example
{
"result": 0
}
| Code | Description |
| 1000 | Log in required. |
| 1057 | Please provide 'collectionid'. |
| 1059 | Please provide 'item'. |
| 1060 | Please provide 'position'. |
| 2000 | Log in failed. |
| 2065 | Collection not found. |
| 2066 | Item could not be moved in the collection - invalid parameters. |
| 4000 | Too many login tries from this IP address. |
| 5000 | Internal error. Try again later. |