Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .castiron.stats.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
schema_version: 1
generation_id: cec0794a-44bb-431c-b91c-32bbcf798980
openapi_spec_hash: a7dcb5a78f21ffdb756ac4bbe0b8a227
openapi_transformed_spec_hash: da855097c89cd19cdb576823a15b0481
generation_id: dd7765a4-3f6a-4a04-aaca-19aaa7507cdd
openapi_spec_hash: 051ddca625ac3b40a3f9d7687ff56386
openapi_transformed_spec_hash: da601ee105aa5acf0deebbb9b3d87b8e
config_hash: a9d68fc59815e9884d653f40d0c9cc15
codegen_sha: 82f70fc38cea881d2702056442d49bd401e6a181
codegen_hash: 9faf3e77625fc5caccdf324dfd3f099f54178b901026cca8d6e1a558d16b19ff
public_codegen_sha: d0df48b54e26bd50035e182ba2c03a990d728f9e
codegen_sha: 0048f2a7447c3cfe8d0198e0d7549c378e4bf08f
codegen_hash: a7aa886594dd13f43e180a8516000bdf96481ed147ba52f0f2def6e243bb03b5
public_codegen_sha: f99cb5bb5fc87965058d7055e382a25d1d064bcc
14 changes: 5 additions & 9 deletions api_reference/openapi.transformed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12812,10 +12812,12 @@ paths:
- AdminApiKeyAuth: []
summary: Delete project API key
description: |
Deletes an API key from the project.
Deletes an API key from the project, including keys owned by service accounts.

Returns confirmation of the key deletion, or an error if the key belonged to
a service account.
Requires permission to write project API keys. Deleting a service-account key
does not delete the service account or its other keys.

Returns confirmation of the key deletion.
operationId: delete-project-api-key
tags:
- Projects
Expand Down Expand Up @@ -27625,12 +27627,6 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'409':
description: The service account already has an API key and cannot create another.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Too many management requests. Reduce the request rate and try again later.
content:
Expand Down
26 changes: 13 additions & 13 deletions scripts/castiron/generated-files.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
".github/workflows/castiron-custom-code.yml": {
"mode": "100644",
"sha256": "f27d44cbe8caa54c1a41af4c55b2b909ae465a12982cb5a32d49deaa44ef3912"
"sha256": "ccd67760a8cfcc17ebdf5c8df7e330ee7be5199cb62232afdf9035fea68bbc2f"
},
"api.md": {
"mode": "100644",
Expand All @@ -23,11 +23,11 @@
},
"scripts/castiron/custom_code_budget.py": {
"mode": "100755",
"sha256": "31b47b2c85fc7ef483c18a94f0725e4f6bae50164c427330af6d081d5d3f31f2"
"sha256": "e6f19706c26f9b996f7d6d5f8a654e54fbc8c49a5d2fce045c1996b119feee33"
},
"scripts/castiron/custom_code_report.py": {
"mode": "100755",
"sha256": "6b7cfda1f85426daaa2e4f6186e2d1b20ac638dadaa54be8142ecec89fefd880"
"sha256": "157ed30ac9d54d20fe5f7e625dc8ee5958beb91cc7e30aaa97cfba8fb3e06e21"
},
"scripts/castiron/custom_code_test_support.py": {
"mode": "100644",
Expand Down Expand Up @@ -55,7 +55,7 @@
},
"scripts/castiron/test_custom_code_report.py": {
"mode": "100644",
"sha256": "4a084ae9fb53897fa260b22baae4ef8a0662ff5f92b5efaaf49f3ec8953949bd"
"sha256": "5c17ac9b5596e7f69aaefe3f29615cdac425323594854a91e1759c88d92a68bb"
},
"src/openai/__init__.py": {
"mode": "100644",
Expand Down Expand Up @@ -143,7 +143,7 @@
},
"src/openai/resources/admin/organization/projects/api_keys.py": {
"mode": "100644",
"sha256": "336acfc7f5e1a1fb8b522db2fbb217d78f04c12e5c872d12291c161f3599b165"
"sha256": "6b916777096940e6ba31445cd42be1aee77b9e9201d950a58a8c93232fb715be"
},
"src/openai/resources/admin/organization/projects/certificates.py": {
"mode": "100644",
Expand Down Expand Up @@ -415,7 +415,7 @@
},
"src/openai/resources/beta/responses/responses.py": {
"mode": "100644",
"sha256": "06695dc41af2cd645f7c29921cbd6addef28c10dde118112bcca171a5a218275"
"sha256": "e631b84ca7b00615a9e2f232d45747ec39f284ffa1ceb71517032e969bb386bb"
},
"src/openai/resources/beta/threads/__init__.py": {
"mode": "100644",
Expand Down Expand Up @@ -595,19 +595,19 @@
},
"src/openai/resources/live/forks.py": {
"mode": "100644",
"sha256": "21884921a1b65b4c1fcf1a520b4e433c1548f433810caa0aaec6ae5130897389"
"sha256": "440a44366c6896286b95c398b2ea98f34844600af22513e9ebbe8ca497556d90"
},
"src/openai/resources/live/live.py": {
"mode": "100644",
"sha256": "ec86c0a3868d736b4ab8586ea60bd736c14adaadfcd1d198099f3ca4229742f5"
"sha256": "f1ae78c0bffef766fbb859f1a9ffb307bcbab646b9da2d741099449914f9a42a"
},
"src/openai/resources/live/sessions.py": {
"mode": "100644",
"sha256": "9ba2d59d9c7498c96ac2e7e48660c91468e0eeb5df881e77f123ee37985c3dfd"
},
"src/openai/resources/live/sideband.py": {
"mode": "100644",
"sha256": "7db3998d437169ca2437c8deb4cc047ee3148e6ec747d87d0b9c86ad2c9ee2cf"
"sha256": "486f51b77fea40ab0f6393d0aa01b083aefff9fa2ba8e9c076e4757a10d7ab3a"
},
"src/openai/resources/models.py": {
"mode": "100644",
Expand Down Expand Up @@ -635,7 +635,7 @@
},
"src/openai/resources/realtime/realtime.py": {
"mode": "100644",
"sha256": "acef2fd152ecca0c65ad82a42999ad2492d99cf49d2a91f8e905d61732d1560e"
"sha256": "a1af3c8791a4f29b66e3401348b6c6dea6dc658a8a6bb88843cdb30b4626119c"
},
"src/openai/resources/realtime/translations/__init__.py": {
"mode": "100644",
Expand All @@ -647,7 +647,7 @@
},
"src/openai/resources/realtime/translations/translations.py": {
"mode": "100644",
"sha256": "13f68331c7ac59780d6db2d4b5af79b92d6df43407fbc798add158a6d900d2ed"
"sha256": "c34a5218f753a120602bb7cca62073ee032091155e22886c9f633dfcf1263cac"
},
"src/openai/resources/responses/__init__.py": {
"mode": "100644",
Expand All @@ -667,7 +667,7 @@
},
"src/openai/resources/responses/responses.py": {
"mode": "100644",
"sha256": "0b7c2ee504b7adb0f8bfbd16c91ee9de05a535f879708c57ffc33dde94ca4fa1"
"sha256": "2239f2e9fe19aa019d2580a0f74a5d2efcedc2c284650ee1c2567af334a045e6"
},
"src/openai/resources/safety/__init__.py": {
"mode": "100644",
Expand Down Expand Up @@ -759,7 +759,7 @@
},
"src/openai/types/__init__.py": {
"mode": "100644",
"sha256": "47c98e4ffd0eb3a28a9d60b78facf0bdd165d6d35b24ebb6bea5834a0165eeea"
"sha256": "5caaa29a79510a0a3e4a92f7b59d3ccb3f8f6651706f658738cb5e2a22b91481"
},
"src/openai/types/admin/__init__.py": {
"mode": "100644",
Expand Down
16 changes: 10 additions & 6 deletions src/openai/resources/admin/organization/projects/api_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,12 @@ def delete(
timeout: float | httpx2.Timeout | None | NotGiven = not_given,
) -> APIKeyDeleteResponse:
"""
Deletes an API key from the project.
Deletes an API key from the project, including keys owned by service accounts.

Returns confirmation of the key deletion, or an error if the key belonged to a
service account.
Requires permission to write project API keys. Deleting a service-account key
does not delete the service account or its other keys.

Returns confirmation of the key deletion.

Args:
extra_headers: Send extra headers
Expand Down Expand Up @@ -498,10 +500,12 @@ async def delete(
timeout: float | httpx2.Timeout | None | NotGiven = not_given,
) -> APIKeyDeleteResponse:
"""
Deletes an API key from the project.
Deletes an API key from the project, including keys owned by service accounts.

Requires permission to write project API keys. Deleting a service-account key
does not delete the service account or its other keys.

Returns confirmation of the key deletion, or an error if the key belonged to a
service account.
Returns confirmation of the key deletion.

Args:
extra_headers: Send extra headers
Expand Down
Loading