Reset Password
Check your e-mail for further instructions.
Reset
Name
collection_unlinkfiles
Auth
yes
Description
Remove files from a current collection.
There are three methods to remove files from the collection:
URL
https://api.pcloud.com/collection_unlinkfiles
Required
Parameter | Description |
collectionid | int the id of the collection. |
Optional
Parameter | Description |
all | int if set, all files from the collection are unlinked |
positions | string comma-separated list of positions to be unlinked |
fileids | string comma-separated list of fileids to be unlinked |
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, 18 Feb 2014 14:25:55 +0000", "contents": [ ] } ] }
Code | Description |
1000 | Log in required. |
1038 | Please provide 'fileids'. |
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. |