On my own server using baserow, can I upload files through api and then can I delete these files via api?

There is no endpoint in the API to delete uploaded files. However, if you self-host, you have access to the /user_files/ folder where you can manually delete files.