From 38384feebfd1df554b475da6506779f77a0911bd Mon Sep 17 00:00:00 2001 From: Bereket Engida Date: Mon, 3 Mar 2025 13:16:12 +0300 Subject: [PATCH] docs: remove userId parameter from API key documentation --- docs/content/docs/plugins/api-key.mdx | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/content/docs/plugins/api-key.mdx b/docs/content/docs/plugins/api-key.mdx index c3161c66..cb9aadec 100644 --- a/docs/content/docs/plugins/api-key.mdx +++ b/docs/content/docs/plugins/api-key.mdx @@ -173,7 +173,6 @@ const { valid, error, key } = await auth.api.verifyApiKey({ #### Properties - `key`: The API Key to validate -- `userId`: The user id to check against the API key. - `permissions`?: The permissions to check against the API key. #### Result @@ -196,7 +195,6 @@ type Result = { const key = await auth.api.getApiKey({ body: { keyId: "your_api_key_id_here", - userId: "userId", }, }); ``` @@ -204,7 +202,6 @@ const key = await auth.api.getApiKey({ #### Properties - `keyId`: The API Key id to get information on. -- `userId`: The user id to check against the API key. #### Result