Clear user sessions
Sign a person out everywhere: end their Okta sessions and, if you like, revoke the tokens apps were given for them (offboarding).
Command in the Okta toolkit · id ooa.okta/clear_sessions · 5 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | No | Your Okta address, e.g. https://yourcompany.okta.com. | |
| User | String | Yes | The person's Okta user id, or their sign-in name (login), e.g. ann.lee@acme.com. | |
| Revoke app tokens | Boolean | No | true | Also revoke the OpenID Connect and OAuth tokens apps hold for the person. |
| API token | Credential | No | Okta API token from the vault. Leave empty when you use an access token instead. | |
| Access token | Credential | No | OAuth access token from the vault, used instead of an API token. Or leave it empty and choose a connection that signs in, which gets and renews the token. |