Deletes a tunnel.
Usage notes
Before you delete a channel, make sure that no data is being consumed in the channel. Otherwise, data consumption may fail.
A channel cannot be restored after it is deleted. Exercise caution when you perform this operation.
Request syntax
message DeleteTunnelRequest {
required string table_name = 1;
required string tunnel_name = 2;
optional string tunnel_id = 3;
}
Parameter | Type | Required | Description |
table_name | string | Yes | The name of the table. |
tunnel_name | string | Yes | The name of the tunnel. |
tunnel_id | string | No | The ID of the tunnel. |
Response syntax
message DeleteTunnelResponse {
}
Use Tablestore SDKs
You can use the following SDKs to delete a tunnel: