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
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