Does anyone know how to delete file from uploadThing after uploading it in Next js?

I am trying to use the utApi in next js but its saying only usable in server. What should I do ?
1 Reply
NickServ
NickServ13mo ago
Make a server action and call it instead
Want results from more Discord servers?
Add your server