Skip to content

Commit

Permalink
Update spec for update_api_key to include expiration (#2381) (#2383)
Browse files Browse the repository at this point in the history
* Update spec for update_api_key to include expiration

* fixup! Formatting

---------

Co-authored-by: Johannes Fredén <[email protected]>
  • Loading branch information
Anaethelion and jfreden authored Jan 12, 2024
1 parent 7aa6dbb commit 2136412
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions specification/security/update_api_key/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
import { Id, Metadata } from '@_types/common'
import { Dictionary } from '@spec_utils/Dictionary'
import { RoleDescriptor } from '@security/_types/RoleDescriptor'
import { Duration } from '@_types/Time'

/**
* Updates attributes of an existing API key.
Expand Down Expand Up @@ -58,5 +59,7 @@ export interface Request extends RequestBase {
* Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with _ are reserved for system usage.
*/
metadata?: Metadata
/** Expiration time for the API key. */
expiration?: Duration
}
}

0 comments on commit 2136412

Please sign in to comment.