How can i regenerate new api keys?

i have created keys for my project but now i want to change the keys,there are no options of regeneration on API keys page so how can i do that?

Under the Developer Options → API Key section of your ImageKit account, there is an option to Roll your API keys.

When initiating a key rotation, you can specify an expiry period for the existing key:

  • Immediately
  • In 1 hour
  • In 24 hours
  • In 3 days
  • In 7 days

The selected expiry duration determines when the current key will be blocked and deactivated. Regardless of the chosen expiry timeframe, the newly generated key becomes active and available for use immediately. Read more on this in our documentation here.