Virtual Keys: Filter by key alias (#10035) (#10085)

Co-authored-by: Christian Owusu <36159205+crisshaker@users.noreply.github.com>
This commit is contained in:
Ishaan Jaff 2025-04-16 19:46:05 -07:00 committed by GitHub
parent 33a5ebf3b8
commit 8e51153b47
7 changed files with 84 additions and 12 deletions

View file

@ -2569,8 +2569,9 @@ export const keyListCall = async (
accessToken: String,
organizationID: string | null,
teamID: string | null,
selectedKeyAlias: string | null,
page: number,
pageSize: number
pageSize: number,
) => {
/**
* Get all available teams on proxy
@ -2588,6 +2589,10 @@ export const keyListCall = async (
queryParams.append('organization_id', organizationID.toString());
}
if (selectedKeyAlias) {
queryParams.append('key_alias', selectedKeyAlias)
}
if (page) {
queryParams.append('page', page.toString());
}