Skip to content

Commit f92823e

Browse files
jfredenAnaethelion
andauthored
Update spec for update_api_key to include expiration (#2381)
* Update spec for update_api_key to include expiration * fixup! Formatting --------- Co-authored-by: Laurent Saint-Félix <[email protected]>
1 parent cf1b47a commit f92823e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

specification/security/update_api_key/Request.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { RequestBase } from '@_types/Base'
2121
import { Id, Metadata } from '@_types/common'
2222
import { Dictionary } from '@spec_utils/Dictionary'
2323
import { RoleDescriptor } from '@security/_types/RoleDescriptor'
24+
import { Duration } from '@_types/Time'
2425

2526
/**
2627
* Updates attributes of an existing API key.
@@ -58,5 +59,7 @@ export interface Request extends RequestBase {
5859
* 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.
5960
*/
6061
metadata?: Metadata
62+
/** Expiration time for the API key. */
63+
expiration?: Duration
6164
}
6265
}

0 commit comments

Comments
 (0)