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
deletechatcompletion
DELETE/chat/completions/{completion_id}

Parameters

required

The ID of the chat completion to delete.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import openai from '@utdk/openai';

await openai.deletechatcompletion()