From a1c2bc695cc2b96586625ce9aca1a10d7a8d1607 Mon Sep 17 00:00:00 2001 From: Scott Wilson Date: Tue, 22 Oct 2024 09:32:29 -0700 Subject: [PATCH] docs: add example temporal duration for temporary range --- backend/src/lib/api-docs/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/lib/api-docs/constants.ts b/backend/src/lib/api-docs/constants.ts index b40532347..354632d15 100644 --- a/backend/src/lib/api-docs/constants.ts +++ b/backend/src/lib/api-docs/constants.ts @@ -980,7 +980,7 @@ export const IDENTITY_ADDITIONAL_PRIVILEGE_V2 = { permission: "The permission for the privilege.", isTemporary: "Whether the privilege is temporary or permanent.", temporaryMode: "Type of temporary access given. Types: relative.", - temporaryRange: "The TTL for the temporary access given.", + temporaryRange: "The TTL for the temporary access given. Eg: 1m, 1h, 1d.", temporaryAccessStartTime: "The start time in ISO format when the temporary access should begin." }, UPDATE: { @@ -990,7 +990,7 @@ export const IDENTITY_ADDITIONAL_PRIVILEGE_V2 = { privilegePermission: "The permission for the privilege.", isTemporary: "Whether the privilege is temporary.", temporaryMode: "Type of temporary access given. Types: relative.", - temporaryRange: "The TTL for the temporary access given.", + temporaryRange: "The TTL for the temporary access given. Eg: 1m, 1h, 1d.", temporaryAccessStartTime: "The start time in ISO format when the temporary access should begin." }, DELETE: {