The Vonage Account API enables you to manage your API secret(s) programmatically.
Each Vonage account can have up to two API secrets at any time. This allows you to create a second API secret, test your application and deploy the new configuration to production without interrupting your customer's service. Once that's done, you can revoke the existing API secret until you need to rotate your credentials again.
In addition to managing your own API secrets, primary accounts can manage API secrets for any subaccount that it owns. To do this, authenticate with the Vonage API using your primary account's API key and secret and specify the subaccount's API key as the
account_id to manage in your API call.