Hi, @Raja
You can use Azure Automation and a PowerShell script to regenerate API subscription keys periodically to achieve rotation.
You may find the following articles helpful.
Alternatively, if you can use the REST API or SDK, you can use the regeneration API as follows.