Skip to main content

Delete File

DELETE 

/files/:file_id

Deletes a file.

Request

Path Parameters

    file_id stringrequired

    The ID of the file to delete.

Responses

OK, returns the deletion status.

Schema

    id stringrequired

    The ID of the deleted file.

    object stringrequired

    Possible values: [file]

    The object type, which is always file.

    deleted booleanrequired

    Whether the file was successfully deleted.

Loading...