Skip to content

Commit 4c2e36f

Browse files
Add active_only flag definition to Get API key spec (#2371) (#2372)
1 parent 02f73f8 commit 4c2e36f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

specification/security/get_api_key/SecurityGetApiKeyRequest.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,12 @@ export interface Request extends RequestBase {
6868
* @availability serverless
6969
*/
7070
with_limited_by?: boolean
71+
/**
72+
* A boolean flag that can be used to query API keys that are currently active. An API key is considered active if it is neither invalidated, nor expired at query time. You can specify this together with other parameters such as `owner` or `name`. If `active_only` is false, the response will include both active and inactive (expired or invalidated) keys.
73+
* @server_default false
74+
* @availability stack since=8.10.0
75+
* @availability serverless
76+
*/
77+
active_only?: boolean
7178
}
7279
}

0 commit comments

Comments
 (0)