DELETE
/
files
/
{file_id}
Delete File
curl --request DELETE \
  --url https://vaeroapi.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "file-abc123",
  "object": "file",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

The ID of the file to delete.

Response

File successfully deleted.

id
string

Auto-assigned UUID file identifier.

Example:

"file-abc123"

object
string

Object type, which will always be 'file'.

Example:

"file"

deleted
boolean

Indicates whether the file was successfully deleted.

Example:

true