Removing objects from the Storage
July 25, 2024
ID 197991
To remove an object from the Storage, execute the following command:
kics-control -B --mass-remove --query "ObjectId == '<object
ID
>'"
Example: To remove an object with ID=15:
|
To remove several objects from the Storage, execute the following command:
kics-control -B --mass-remove --query "<
field
> <
logical expression
> '<
value
>' [and <
field
> <
logical expression
> '<
value
>']"
Example: To remove objects that contain "test" in their names or paths:
|
To remove all objects from the Storage, execute one of the following commands:
kics-control -B --mass-remove
, or
kics-control -B --mass-remove --query