Function name |
transferOwner(TransferOwner transferOwner) |
Description |
Change the resource owner in the Hub. |
Request Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
TransferOwner |
Y |
|
TransferOwner |
1 |
uid |
String |
Y |
ID in the Hub |
2 |
url |
String |
Y |
The path of the stored resource |
3 |
newOwnerUid |
String |
Y |
New owner’s ID in the Hub |
4 |
newOwnerPublicKey |
String |
Y |
New owner’s public key |
5 |
privateKey |
String |
Y |
Private key |
Response Parameters |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
Boolean |
Y |
Return true if success, return false if failure |