Learn R Programming

oaii (version 0.5.0)

assistants_delete_assistant_request: API assistants: delete assistant

Description

Delete an assistant. To get more details, visit https://platform.openai.com/docs/api-reference/assistants/deleteAssistant https://platform.openai.com/docs/assistants

Usage

assistants_delete_assistant_request(assistant_id, api_key = api_get_key())

Value

content of the httr response object or SimpleError (conditions) enhanced with two additional fields: `status_code` (response$status_code) and `message_long` (built on response content)

Arguments

assistant_id

string, the ID of the assistant to delete

api_key

string, OpenAI API key (see https://platform.openai.com/account/api-keys)