Deletes one or more shares from an express synchronization group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | RemoveSharesFromExpressSync |
The operation that you want to perform. Set the value to RemoveSharesFromExpressSync. |
ExpressSyncId | String | Yes | sync-0001xv7je357xn8tr*** |
The ID of the express synchronization group. |
GatewayShares | String | Yes | {"gw-000gwgp0j3jp8cb3t***":"share1,share2","gw-0001b2otnkdzte62j***":"weekly"} |
The name of the share. Specify the value in the JSON format.
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1EDBC004-6B1C-4511-ACF5-0B4875BA3B22 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. |
Code | String | 200 |
The HTTP status code. If the request is successful, 200 is returned. |
Message | String | successful |
The description of the status code. |
TaskId | String | t-0001xv7je357xr6ql*** |
The ID of the task. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=RemoveSharesFromExpressSync
&ExpressSyncId=sync-0001xv7je357xn8tr***
&GatewayShares={"gw-000gwgp0j3jp8cb3t***":"share1,share2","gw-0001b2otnkdzte62j***":"weekly"}
&<Common request parameters>
Sample success responses
XML
format
<RemoveSharesFromExpressSyncResponse>
<TaskId>t-0001xv7je357xr6ql***</TaskId>
<Message>successful</Message>
<RequestId>1EDBC004-6B1C-4511-ACF5-0B4875BA3B22</RequestId>
<Code>200</Code>
<Success>true</Success>
</RemoveSharesFromExpressSyncResponse>
JSON
format
{
"TaskId":"t-0001xv7je357xr6ql***",
"Message":"successful",
"RequestId":"1EDBC004-6B1C-4511-ACF5-0B4875BA3B22",
"Code":"200",
"Success":true
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | ExpressSyncNotExist | The specified sync group does not exist. You must specify a valid parameter. | The error message returned because the specified express synchronization group does not exist. Check whether the parameters are valid. |
400 | ExpressSyncInOperation | The sync group is busy. Try again later. | The error message returned because another operation is in progress. Try again later. |
For a list of error codes, visit the API Error Center.