Skip to content

Commit

Permalink
Add active_only flag definition to Get API key spec (#2371)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1v0lg authored Dec 22, 2023
1 parent e16324d commit da39539
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,12 @@ export interface Request extends RequestBase {
* @availability serverless
*/
with_limited_by?: boolean
/**
* 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.
* @server_default false
* @availability stack since=8.10.0
* @availability serverless
*/
active_only?: boolean
}
}

0 comments on commit da39539

Please sign in to comment.