provider Chat DELETE
/chat/completions/{completion_id} @utdk/openai
/chat/completions/{completion_id} Delete a stored chat completion. Only Chat Completions that have been
created with the `store` parameter set to `true` can be deleted.
- completion_id path required
- The ID of the chat completion to delete.
- string
Try it
Authentication
Configure credentials for OpenAI API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import openai from '@utdk/openai';
await openai.deletechatcompletion()