Skip to content
Support

Rotate or revoke an app's secret

Owner, AdminLast checked 24 November 20261 min readArticle ID: developers-rotate-secret
On 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

  1. On the app, select Regenerate secret.
  2. Read "Regenerate secret for [name]?": the current secret stops working immediately, and all issued access tokens are revoked.
  3. Select Regenerate secret to confirm.
  4. In Save your client secret, copy the new secret. It's shown once and can't be shown again.
  5. 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

  1. Select Revoke on the app.
  2. Read "Revoke [name]?": this permanently disables the app and revokes all its access tokens. It can't be undone.
  3. 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.

In this section