Skip to main content

sessions

Overview

Namesessions
TypeResource
Idokta.session.sessions

Fields

NameDatatype
idstring
_linksobject
amrarray
createdAtstring
expiresAtstring
idpobject
lastFactorVerificationstring
lastPasswordVerificationstring
loginstring
statusstring
userIdstring

Methods

NameAccessible byRequired ParamsDescription
getSELECTsessionId, subdomainGet details about a session.
insertINSERTsubdomainCreates a new session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID in order to delete a session via the API instead of visiting the logout URL.
deleteDELETEsessionId, subdomain
refreshEXECsessionId, subdomain