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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteProjectApiKey
DELETE/organization/projects/{project_id}/api_keys/{key_id}

Parameters

required

The ID of the project.

required

The ID of the API key.

Enter a gateway URL above to enable sending.

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

TypeScript

import openai from '@utdk/openai';

await openai.deleteProjectApiKey()