You must add the ON DELETE CASCADE constraint as follows:
ALTER TABLE table1 ADD CONSTRAINT "tbl1_tbl2_fkey" FOREIGN KEY(reference_key) REFERENCES table2 ON DELETE CASCADE;
Then you can just execute the DELETE query
DELETE FROM fs_item where itemid = 700001803
source share