Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringNoYour Okta address, e.g. https://yourcompany.okta.com.
UserStringYesThe person's Okta user id, or their sign-in name (login), e.g. ann.lee@acme.com.
Revoke app tokensBooleanNotrueAlso revoke the OpenID Connect and OAuth tokens apps hold for the person.
API tokenCredentialNoOkta API token from the vault. Leave empty when you use an access token instead.
Access tokenCredentialNoOAuth 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.