# Deleting long running operations from the list

Use the ydb operation forget subcommand to delete information about the specified long running operation from the list. The operation must be complete.

General format of the command:

ydb [global options...] operation forget <id>

• global options: Global parameters.
• options: Parameters of the subcommand.
• 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 delete information about the specified long running operation:

ydb operation forget --help


## Examples

Note

The examples use the db1 profile. To learn more, see Creating a connection profile.

Delete the long running operation with the ydb://buildindex/7?id=281489389055514 ID from the list:

ydb -p db1 operation forget \
'ydb://buildindex/7?id=281489389055514'