I can upload file from API with GraphQL (“mutation add_file”); however, while deleting file(s) using API there is only one way which is to delete all the files from the column.
Currently, the monday.com API does not support deleting individual files from a Files column. The available functionality allows for removing all files in a column simultaneously by using the clear_all parameter. To clear all files from a specific Files column, you can use the following GraphQL mutation:
Replace YOUR_BOARD_ID and YOUR_ITEM_ID with the appropriate IDs for your board and item. This mutation will remove all files from the specified Files column.
As of now, there is no endpoint to delete specific files using their asset IDs. If this feature is critical for your workflow, you might consider submitting a feature request to the monday.com team or exploring alternative methods to manage files within your application. Hope this helps you! If you found this helpful? Let me know by liking this post!