Skip to content

Commit

Permalink
Update spec for update_api_key to include expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreden committed Jan 11, 2024
1 parent 7e14069 commit a1a2ab9
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 a1a2ab9

Please sign in to comment.