Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update spec for update_api_key to include expiration #2381

Merged
merged 3 commits into from
Jan 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}
Loading