You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit de9aa27
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -40020,7 +40020,7 @@ paths:
40020
40020
message: 'Only management keys can perform this operation'
40021
40021
schema:
40022
40022
$ref: '#/components/schemas/ForbiddenResponse'
40023
-
description: 'The workspace is not owned by this account, or the guardrail would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there.'
40023
+
description: 'The workspace is not owned by this account, or the workspace does not allow a person-name or address sensitive-info filter.'
40024
40024
'500':
40025
40025
content:
40026
40026
application/json:
@@ -40251,7 +40251,7 @@ paths:
40251
40251
message: 'Only management keys can perform this operation'
40252
40252
schema:
40253
40253
$ref: '#/components/schemas/ForbiddenResponse'
40254
-
description: 'The update would give a HIPAA-enabled workspace a person-name or address sensitive-info filter, which is not available there.'
40254
+
description: 'The update would add a person-name or address sensitive-info filter to a workspace that does not allow it.'
40255
40255
'404':
40256
40256
content:
40257
40257
application/json:
@@ -40450,7 +40450,7 @@ paths:
40450
40450
message: 'Only management keys can perform this operation'
40451
40451
schema:
40452
40452
$ref: '#/components/schemas/ForbiddenResponse'
40453
-
description: 'The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a HIPAA-enabled workspace, where that filter is not available.'
40453
+
description: 'The guardrail has no workspace and carries a person-name or address sensitive-info filter, and at least one target key belongs to a workspacethat does not allow that filter.'
40454
40454
'404':
40455
40455
content:
40456
40456
application/json:
@@ -41538,7 +41538,7 @@ paths:
41538
41538
retryable: false
41539
41539
schema:
41540
41540
$ref: '#/components/schemas/InternLifecycleError'
41541
-
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns (a HIPAA workspace), or regional access is refused.'
41541
+
description: 'The key acts as an organization and has no member who can own the intern, the workspace does not allow interns, or regional access is refused.'
41542
41542
'404':
41543
41543
content:
41544
41544
application/json:
@@ -44741,7 +44741,7 @@ paths:
44741
44741
- 'API Keys'
44742
44742
x-speakeasy-name-override: 'get'
44743
44743
patch:
44744
-
description: "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.\n\n<Warning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n</Warning>"
44744
+
description: "Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).\n\nSet `workspace_id` to move the key to another workspace.\n\n<Warning>\nThe request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.\n</Warning>"
44745
44745
operationId: 'updateKeys'
44746
44746
parameters:
44747
44747
- description: 'The hash identifier of the API key to update'
Copy file name to clipboardExpand all lines: docs/sdks/apikeys/README.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,7 +274,7 @@ with OpenRouter(
274
274
275
275
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
276
276
277
-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
277
+
Set `workspace_id` to move the key to another workspace.
278
278
279
279
\<Warning>
280
280
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
Copy file name to clipboardExpand all lines: src/openrouter/api_keys.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1435,7 +1435,7 @@ def update(
1435
1435
1436
1436
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
1437
1437
1438
-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
1438
+
Set `workspace_id` to move the key to another workspace.
1439
1439
1440
1440
<Warning>
1441
1441
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
@@ -1616,7 +1616,7 @@ async def update_async(
1616
1616
1617
1617
Update an existing API key. Authenticate with a [management key](/docs/guides/overview/auth/management-api-keys).
1618
1618
1619
-
Set `workspace_id` to move the key to another workspace. The key keeps its value, and any other fields in the same request are applied atomically with the move. Guardrail selections move with the key; other workspace-scoped settings (presets, BYOK keys, broadcast destinations, routing rules) do not. A move into or out of a HIPAA workspace is refused with `403`. In an organization, if the key's creator is not a member of a non-default target workspace, the request fails with `409`; add them to the workspace first.
1619
+
Set `workspace_id` to move the key to another workspace.
1620
1620
1621
1621
<Warning>
1622
1622
The request body accepts only the fields listed below, and unrecognized fields are ignored. If the body contains none of the accepted fields, the request fails with `400` and the message `No update fields provided`.
0 commit comments