Management API SDK

Hi All, Just wondering if the function to delete user sessions is available using the JS management API SDK?
3 Replies
Yoshify
Yoshify4mo ago
Yes it is! The JS management API is generated from the management API reference - https://docs.kinde.com/kinde-apis/management/#tag/users/delete/api/v1/users/%7Buser_id%7D/sessions
Kinde docs
Kinde Management API
The management API is for managing your Kinde account. Most things that can be done via the Kinde admin UI can be done with this API
Yoshify
Yoshify4mo ago
You should be able to access it in the SDK via Users.deleteUserSessions - https://github.com/kinde-oss/management-api-js/blob/main/lib/api/services.gen.ts#L3758
GitHub
management-api-js/lib/api/services.gen.ts at main · kinde-oss/manag...
javascript package for interacting with the Kinde Management API - kinde-oss/management-api-js
electronicdoorman
electronicdoormanOP4mo ago
That's brilliant thank you

Did you find this page helpful?