diff --git a/backend/src/api/routes/ape-keys.ts b/backend/src/api/routes/ape-keys.ts index b540762fe..0d670e113 100644 --- a/backend/src/api/routes/ape-keys.ts +++ b/backend/src/api/routes/ape-keys.ts @@ -67,7 +67,7 @@ router.patch( checkIfUserCanManageApeKeys, validateRequest({ params: { - apeKeyId: joi.string().required(), + apeKeyId: joi.string().token().required(), }, body: { name: apeKeyNameSchema,