Trouble with Retrieving User's Session and Ending User's Session via API

If you are using an Okta Identity Engine org, the /sessions/{sessionId} endpoint is no longer supported, as described in our doc here: Understand how sessions work after the upgrade | Okta Developer