provider Projects DELETE /organization/projects/{project_id}/api_keys/{key_id}
@utdk/openai /organization/projects/{project_id}/api_keys/{key_id}
Deletes an API key from the project.
project_id path required
The ID of the project.
string
key_id path required
The ID of the API key.
string

Try it

Authentication
Configure credentials for OpenAI API
deleteProjectApiKey
DELETE/organization/projects/{project_id}/api_keys/{key_id}

Parameters

required

The ID of the project.

required

The ID of the API key.

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.deleteProjectApiKey()