post https://api.onesignal.com/apps//auth/tokens//rotate
Rotates an app API key (Rich Authentication Token) for a single OneSignal app.
Overview
Use this API to rotate a specific App API Key (Rich Authentication Token) for a single OneSignal app. This is useful when the secret has been compromised or is not available anymore and you don't want to create a new key.
How to use this API
Using your Organization API key (available in Organizations > Keys & IDs) you can rotate an app token associated with a given app.
The token_id
can be found with View API keys.