sessions
Overview
Name | sessions |
Type | Resource |
Id | okta.session.sessions |
Fields
Name | Datatype |
---|---|
id | string |
_links | object |
amr | array |
createdAt | string |
expiresAt | string |
idp | object |
lastFactorVerification | string |
lastPasswordVerification | string |
login | string |
status | string |
userId | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | sessionId, subdomain | Get details about a session. |
insert | INSERT | subdomain | Creates 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. |
delete | DELETE | sessionId, subdomain | |
refresh | EXEC | sessionId, subdomain |