Rotate or revoke an app's secret
Owner, AdminLast checked 24 November 20261 min readArticle ID:
developers-rotate-secretOn this page
Regenerate a secret that leaked or was lost, or revoke an app you no longer use.
Go to Settings › API & Webhooks. Each app is listed with its Client ID, Scopes, Status and Last used.
Who can do this: Owners and Admins with the Manage Developer Tools permission.
Regenerate the secret
- On the app, select Regenerate secret.
- Read "Regenerate secret for [name]?": the current secret stops working immediately, and all issued access tokens are revoked.
- Select Regenerate secret to confirm.
- In Save your client secret, copy the new secret. It's shown once and can't be shown again.
- Update every integration that uses the app. Until you do, they fail.
The window says "A new secret was generated for [name]." Once your integrations use the new secret, they work again.
Revoke the app
- Select Revoke on the app.
- Read "Revoke [name]?": this permanently disables the app and revokes all its access tokens. It can't be undone.
- Select Revoke app.
You'll see App revoked. Its webhook subscriptions stop too. To use the API again, create a new app. See Create an API app.
Changing scopes isn't the same
Select Edit to rename an app or change its scopes. Removing a scope signs the app out: its current tokens stop working and it must request a new one. Adding scopes or renaming leaves tokens alone.
See Keep your client secret safe.