Sessions

The MyAccount Sessions API provides operations to manage sessions.

See sessions for more information.

API versioning

A valid API version in the Accept header is required to access the API. Current version: 1.0.0

Accept: application/json; okta-version=1.0.0

Delete all Sessions
OAuth 2.0: okta.myAccount.sessions.manage

Deletes all sessions. Revokes all active identity provider sessions of the user. This forces the user to authenticate on the next operation. Also revokes OpenID Connect and OAuth refresh and access tokens issued to the user.

Responses
204

No Content

401

Unauthorized

404

Resource Not Found

delete/idp/myaccount/sessions
Request samples
Response samples
application/json;okta-version=1.0.0
{
  • "errorCauses": [
    • {
      }
    ],
  • "errorCode": "E0000001",
  • "errorId": "oaeWGQKoQHeQmy0u8w8bPwi_Q",
  • "errorLink": "E0000001",
  • "errorSummary": "Bad request because XYZ is missing."
}