OpenAI/deleteProjectApiKey

Online calls unavailable · details below

OpenAIOpenAI API

DELETE/organization/projects/{project_id}/api_keys/{api_key_id}

Manage delete Project Api Key.

Contract-preserving DELETE Endpoint for delete Project Api Key in the OpenAI API. Model and resource-specific values are supplied by the caller at runtime.

All 288 OpenAI Platform REST endpoints from a fixed MIT-licensed official revision, including typed SSE streaming and Realtime call management. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.

Request

operationId
deleteProjectApiKey
Server
https://api.openai.com/v1
Authentication
ApiKeyAuth, AdminApiKeyAuth

Request parameters

project_id

pathstringrequired

project id value in the OpenAI API contract.

api_key_id

pathstringrequired

api key id value in the OpenAI API contract.

Responses

200

ProjectApiKeyDeleteResponseapplication/json

Successful supplier response.

Properties: deletedidobject

400

ErrorResponseapplication/json

Supplier response with HTTP status 400.

Properties: error

{
  "deleted": false,
  "object": "organization.project.api_key.deleted"
}