From 65e672820f5030d99faa261fc520987d2217518e Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Fri, 24 Oct 2025 14:11:44 +0200 Subject: [PATCH] feat(iam): add expires_at to updateable API key fields --- packages_generated/iam/src/v1alpha1/marshalling.gen.ts | 1 + packages_generated/iam/src/v1alpha1/types.gen.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/packages_generated/iam/src/v1alpha1/marshalling.gen.ts b/packages_generated/iam/src/v1alpha1/marshalling.gen.ts index ca52759b5..1e8121535 100644 --- a/packages_generated/iam/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/iam/src/v1alpha1/marshalling.gen.ts @@ -981,6 +981,7 @@ export const marshalUpdateAPIKeyRequest = ( ): Record => ({ default_project_id: request.defaultProjectId, description: request.description, + expires_at: request.expiresAt, }) export const marshalUpdateApplicationRequest = ( diff --git a/packages_generated/iam/src/v1alpha1/types.gen.ts b/packages_generated/iam/src/v1alpha1/types.gen.ts index fbcf0af47..55a476027 100644 --- a/packages_generated/iam/src/v1alpha1/types.gen.ts +++ b/packages_generated/iam/src/v1alpha1/types.gen.ts @@ -1936,6 +1936,10 @@ export type UpdateAPIKeyRequest = { * New description to update. */ description?: string + /** + * New expiration date of the API key. + */ + expiresAt?: Date } export type UpdateApplicationRequest = {