DELETE /api/v1/users/{userId}/sessions

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

You can also clear the user's remembered factors for all devices using the forgetDevices parameter. See forgetDevices.

Note: This operation doesn't clear the sessions created for web or native apps.

Servers

Path parameters

Name Type Required Description
userId String Yes

ID of an existing Okta user

Query parameters

Name Type Required Description
forgetDevices Boolean No

Clears the user's remembered factors for all devices.

Note: This parameter defaults to false in Classic Engine.

Default value: true

oauthTokens Boolean No

Revokes issued OpenID Connect and OAuth refresh and access tokens

Default value: false

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.