<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006tbME3CAMOkta Classic EngineAdministrationAnswered2024-04-16T12:02:41.000Z2021-03-29T16:20:09.000Z2021-03-30T18:14:00.000Z

asroo (asroo) asked a question.

Suspending Admin account that created API Token

How do we suspend and deactivate an admin account that created API Token without interrupting the service?. When the admin account is suspended, authentication failed with error : "HTTP 401 Okta E0000011 Invalid Token provided when running API calls". Is there a way to safely move the API Token under another user and deactivate the account of the admin who is no longer with the firm ? whats the suggested best practice for this?


  • na5c0 (na5c0)

    Unfortunately tokens are associated with a particular user and as far as I know what you are asking is not possible. If you wanted to get really creative, you could look at keeping the account active, add the account to a new user group called something like "disabled users", and adding authentication policies which prevent members of that group from authenticating... but that should only be considered as a very short term solution until you can follow best practices, which would be to leverage service accounts for API Tokens.

    Expand Post
This question is closed.
Loading
Suspending Admin account that created API Token