Reset Password
Check your e-mail for further instructions.
Reset
Name
changeshare
Auth
yes
Description
Change permissions of a share.
The permissions are the same as in sharefolder
Only the owner of the share/folder may use this method.
That is - it is only allowed for outgoing shares.
URL
https://api.pcloud.com/changeshare
Required
| Parameter | Description |
| shareid | int The id of the share request, returned by listshares |
| permissions | string The new permissions |
Example
{
"result": 0
}
| Code | Description |
| 1000 | Log in required. |
| 1024 | Please provide 'permissions' for the share. |
| 1027 | Please provide 'shareid'. |
| 2000 | Log in failed. |
| 2025 | Invalid shareid. |
| 4000 | Too many login tries from this IP address. |
| 5000 | Internal error. Try again later. |