cURL
curl --request DELETE \ --url https://vaeroapi.com/v1/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "id": "file-abc123", "object": "file", "deleted": true }
Deletes a file identified by the provided file ID.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the file to delete.
File successfully deleted.
The response is of type object.
object