Delete one path from a document.
Section: Update and expand JSON
Remove a JSON key
sql
sql
UPDATE settings
SET config = json_remove(config, '$.deprecated_flag')
WHERE user_id = 1;Explanation
Useful during schema cleanup or feature-flag retirement.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Update and expand JSON