POST /api/v1/users/me/lifecycle/delete_sessions

Ends Okta sessions for the currently signed in User. By default, the current session remains active. Use this method in a browser-based app.

Note: This operation requires a session cookie for the User. The API token isn't allowed for this operation.

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
keepCurrent Boolean No

Skip deleting the user's current session when set to true

Default value: true

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.