Canceling long-running operations
Use the ydb operation cancel subcommand to cancel the specified long-running operation. Only an incomplete operation can be canceled.
General format of the command:
ydb [global options...] operation cancel <id>
global options: Global parameters.id: The ID of the long-running operation. The ID contains characters that can be interpreted by your command shell. If necessary, use shielding, for example,'<id>'for bash.
View a description of the command to obtain the status of a long-running operation:
ydb operation cancel --help
Examples
Note
The examples use the quickstart profile. To learn more, see Creating a profile to connect to a test database.