openai_delete_project_api_key
Delete an API key from a project; if the key belongs to a service account, delete the service account instead to revoke it.
Instructions
Delete an API key from a project.
Fails if the key belongs to a service account — delete the service
account instead (openai_delete_service_account) to revoke that key.
Args:
project_id: The project's ID (see openai_list_projects).
api_key_id: The API key's ID (see openai_list_project_api_keys).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key_id | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |