Change Password on Application

I need help with revoking all user sessions, except the current one, when a user changes their password. I found documentation on changing passwords at https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UserCred/*tag/UserCred/operation/changePassword, but when I use this endpoint, it revokes all user sessions, including the active one.

How can I use this endpoint from a .Net backend application to maintain the current session without logging it off? I assume that the session context is only known to the front-end application and should not be passed to other applications.