From 46782ec139be0a55223190feb9f6a5294f8c5775 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 11 May 2023 18:09:40 +0200 Subject: [PATCH] fixed to use parameter (#20242) fixes: #17377 --- js/libs/keycloak-admin-client/src/resources/realms.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libs/keycloak-admin-client/src/resources/realms.ts b/js/libs/keycloak-admin-client/src/resources/realms.ts index 7f86458c3e..d760cfbf8d 100644 --- a/js/libs/keycloak-admin-client/src/resources/realms.ts +++ b/js/libs/keycloak-admin-client/src/resources/realms.ts @@ -228,8 +228,8 @@ export class Realms extends Resource { void >({ method: "DELETE", - path: "/{realm}/sessions/{session}", - urlParamKeys: ["realm", "session"], + path: "/{realm}/sessions/{sessionId}", + urlParamKeys: ["realm", "sessionId"], catchNotFound: true, });