API Token expires after 30 days and we would want it to still be valid when needed to be used so we would want to automate new API token creation and old API token deletion via a script. Is that possible?
@mcmagno The only way to create API token is from Okta Security-> API
API tokens are valid for 30 days and automatically renew every time they are used with an API request. So if you do not want to see it expired, just call it within 30 days.
thank you for your answer! however, we would want to automate it. is there no other way to do that?
@mcmagno Np. You can set up an auto call to a related API token request every 30 days.
can you share please the link to the documentation of this approach? thanks!
@mcmagno There are a lot related calls with API token.
You can find it in Okta APIs.
as long as it includes the request parameter
Here is more reference for API token management.