Reset Password
Check your e-mail for further instructions.
Reset
Name
collection_rename
Auth
yes
Description
Renames a given collection owned by the current user.
URL
https://api.pcloud.com/collection_rename
Required
| Parameter | Description |
| collectionid | int the id of the collection. |
| name | string the new name of the collection. |
Output
On success returns the modified collection.
Example
{
"result": 0,
"collection": [
{
"name": "my music",
"id": 40,
"ismine": true,
"items": 8,
"system": false,
"type": "audio",
"created": "Thu, 13 Feb 2014 12:34:22 +0000",
"modified": "Mon, 17 Feb 2014 11:25:55 +0000",
"contents": [ ]
}
]
}
| Code | Description |
| 1000 | Log in required. |
| 1039 | Please provide 'name'. |
| 1057 | Please provide 'collectionid'. |
| 2000 | Log in failed. |
| 2065 | Collection not found. |
| 4000 | Too many login tries from this IP address. |
| 5000 | Internal error. Try again later. |