Command referenceproducts
sorai products delete-file
Remove a file from a product.
Buyers lose access to it.
sorai products delete-file --product-id <uuid> --file-id <uuid> [flags]Flags
--store <id|slug>: A store id or slug. Defaults toSORAI_STORE, the saved login's store, or the only store.--product-id <uuid>(required): The product's id, fromsorai products list.--file-id <uuid>(required): The file's id, fromsorai products files.--dry-run: Print the request it would send, and for an update the fields that would change, without changing anything.
Permissions
Needs a key with the catalog:write permission.
This command changes data. It can overwrite, archive or delete what is stored. Run it with --dry-run first to see what it would do.

