feat: add API key expiry options (#7064)
* feat: add API key expiry options * review
This commit is contained in:
@@ -5,6 +5,8 @@ export const APIKeysCreateSchema = BaseSchema.extend({
|
||||
body: z.object({
|
||||
/** API Key name */
|
||||
name: z.string(),
|
||||
/** API Key expiry date */
|
||||
expiresAt: z.coerce.date().optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user