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, });