openAIAssitantDELETE method
Implementation
Future openAIAssitantDELETE(endpoint, apiKey) async{
var url = Uri.parse('https://api.openai.com/v1/$endpoint');
var response = await http.delete(url,
headers: {
"Authorization" : "Bearer $apiKey",
"Content-Type" : "application/json; charset=UTF-8",
"OpenAI-Beta" : "assistants=v1"
}
);
return response;
}