delete https://api.copilot.com/v1/files/
This API endpoint permanently removes a specific file, folder, or link.
If the deleted object is a folder, this operation is not recursive and files within the folder will not be deleted. You will receive a ‘Folder is not empty’ error message and the folder will not be deleted.