| Function name |
deletePermission(DeletePermission deletePermission) |
| Description |
Resource owner calls this function to delete permissions that are not yet accessed by a third party. |
| Request Parameters |
| No. |
Parameter |
Type |
Required |
Description |
| 1 |
|
DeletePermission |
Y |
|
| DeletePermission |
| 1 |
uid |
String |
Y |
ID in the Hub |
| 2 |
url |
String |
Y |
The path of the stored resource |
| 3 |
grantUid |
String |
Y |
Authorized ID in the Hub |
| 4 |
grant |
Operation |
Y |
Operation permissions: WRITE/UPDATE/READ |
| 5 |
privateKey |
String |
Y |
Private key |
| Response Parameters |
| No. |
Parameter |
Type |
Required |
Description |
| 1 |
|
DeletePermissionResp |
Y |
Deletion result |
| DeletePermissionResp |
| No. |
Parameter |
Type |
Required |
Description |
| 1 |
success |
Boolean |
Y |
Return true if success, return false if failure |
| 2 |
message |
String |
Y |
Result description |