Skip to content

Commit 18e89ac

Browse files
authored
fix(iam): use expired and not expirable to filter expired API keys (#448)
1 parent df79670 commit 18e89ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/clients/src/api/iam/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ export class API extends ParentAPI {
773773
['bearer_type', request.bearerType ?? 'unknown_bearer_type'],
774774
['description', request.description],
775775
['editable', request.editable],
776-
['expirable', request.expirable],
776+
['expired', request.expired],
777777
['order_by', request.orderBy ?? 'created_at_asc'],
778778
[
779779
'organization_id',

packages/clients/src/api/iam/v1alpha1/types.gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,8 +746,8 @@ export type ListAPIKeysRequest = {
746746
userId?: string
747747
/** Filter out editable API keys or not */
748748
editable?: boolean
749-
/** Filter out expirable API keys or not */
750-
expirable?: boolean
749+
/** Filter out expired API keys or not */
750+
expired?: boolean
751751
/** Filter out by access key */
752752
accessKey?: string
753753
/** Filter out by description */

0 commit comments

Comments
 (0)