You can call the RemoveSharesFromExpressSync operation to delete multiple shares from an express synchronization group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
hcs-sgw:RemoveSharesFromExpressSync |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ExpressSyncId |
string |
Yes |
The ID of the express synchronization group. |
sync-0001xv7je357xn8tr*** |
| GatewayShares |
string |
Yes |
The names of the gateway shares. You can delete multiple shares. The JSON format is:
|
{"gw-000gwgp0j3jp8cb3t***":"share1,share2","gw-0001b2otnkdzte62j***":"weekly"} |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| TaskId |
string |
The ID of the task. |
t-0001xv7je357xr6ql*** |
| Message |
string |
The description of the request result. |
successful |
| RequestId |
string |
The ID of the request. |
1EDBC004-6B1C-4511-ACF5-0B4875BA3B22 |
| Code |
string |
The status code. A status code of 200 indicates that the request was successful. |
200 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"TaskId": "t-0001xv7je357xr6ql***",
"Message": "successful",
"RequestId": "1EDBC004-6B1C-4511-ACF5-0B4875BA3B22",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ExpressSyncNotExist | The specified sync group does not exist. You must specify a valid parameter. | The specified sync group does not exist. You must specify a valid parameter. |
| 400 | ExpressSyncInOperation | The sync group is busy. Try again later. | The sync group is busy. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.