Console

Delete File

DELETE/v1/files/{file_id}

Delete an uploaded file.

Request parameters

Path parameterTypeRequiredDescription
file_id: stringRequired

The id returned by POST /v1/files.

Return value

FieldTypeDescription
id: string

The id of the deleted file.

object: string

Fixed as file.

deleted: boolean

Fixed as true, indicating a successful deletion.