when trying to patch insert an array, if the array is empty, it won't do anything and that array field is not even present in the query but is present in the dashboard UI.
Sanity.io is a platform to build websites and applications. It comes with great APIs that let you treat content like data. Free to get started, and pay-as-you-go on all plans. Find out more.