
User16383859128472432006 (Customer) asked a question.
How can I sign a user out of all the active sessions using api? User is signing in using SSO
I tried issuing a DELETE https://sub-domain/api/v1/users/<userid>/sessions?oauthTokens=true but got a 403 forbidden response
I tried issuing a DELETE https://sub-domain/idp/myaccount/sessions passing an authorization header with Access token that I got from okta but I got back 401 unauthorized.
I can issue curl -H "Authorization: Bearer <Okta Access Token>" --location --request DELETE 'https://sub-domain/idp/myaccount/sessions' but I don't see user session clearing out
All of the requests are issued using postman

Hi @User16383859128472432006 (Customer) , thank you for contacting Okta Community!
I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com as they will have more insight into this topic.
In the meantime, you can reference this similar post from Okta Developer or one of these articles:
Sign users out
Sessions
While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).
Regards.
--
Ask Us Anything thru 7/14: Okta WIC leadership want to hear from you