Transfer queries from user to user (transfer permissions?)

Hi !
Just in case if specific user has been deactivated - is there a simple way to transfer all created queries to another user ?
I guess - couple UPDATEs in database
Tried to change user_id for the query in queries table - didn’t help

It can only be done with the database right now. We desperately need an API endpoint to handle this case though. This should be included in the forthcoming permissions redo.

Hi Jesse !
Can you please advise - how might it be done via database updates correctly ? Redash V8
Thanks in advance for any “magic” !