Skip to contents

Deletes a file from an assistant.

Usage

assistant_delete_file(assistant_name, file_id)

Arguments

assistant_name

Name of the assistant

file_id

UUID of the file to delete

Value

List with http response, content, and status_code. - 200: The file has been successfully deleted - 404: File not found - 500: Internal error

Examples

if (FALSE) { # \dontrun{
assistant_delete_file("my-assistant", "070513b3-022f-4966-b583-a9b12e0290ff")
} # }