Revoke a connection
Revoke a Cloudflare or GitHub connection in Fleet and remove the access at the provider.
Revoke a connection in Fleet, then check that the provider no longer grants access.
Before you start
- You are an Owner, Admin or Developer, or your custom role holds
connections:write. See Roles and permissions. - Revoking cannot be undone. To use the account again, connect it again.
- Sites that use the connection cannot deploy, roll back or update until they are reconnected. Health checks continue.
- Revoking removes only Fleet's access. It deletes nothing that Fleet created in the account: the Worker, the database, the file storage, the settings store and the repository stay. To remove a site, see Unlink or delete a site.
- Fleet staff never revoke a connection for you. When support helps with a compromised account, it asks an Owner to revoke each connection.
Steps
- Open the Connections tab.
- Select the number of sites on the connection's row. The Sites list shows which sites will stop deploying.
- Select Revoke on the row, or on the page of a site that uses the connection.
- Read the confirmation and confirm. Fleet revokes the credential at Cloudflare or GitHub and deletes its stored copies.
- Check the row. The chip reads Revoked, and each site that used the connection shows Reconnect needed.
Result
A job running on the connection fails. A site returns to its earlier status once it has an active connection, so choose another connection or reconnect.
- A site that was being created shows Site creation failed. Select Retry.
- A site that was being deleted shows Deletion incomplete. Select Retry deletion.
Fleet removes the access at the provider as follows:
- Cloudflare: Fleet revokes its OAuth authorization.
- GitHub, for an End User grant that no other connection uses: Fleet uninstalls the installation.
- GitHub, for your own account: the account owner removes the installation on GitHub, under Settings, Applications, Installed GitHub Apps. See GitHub's instructions for installed apps.
You can also remove the access without Fleet. For Cloudflare, open the list of applications you authorized on Cloudflare and select Revoke next to Fleet for EmDash. Fleet marks the connection as needing reconnection after its next daily check.
If something goes wrong
The provider did not confirm the revocation. Fleet changes nothing, so the connection and its sites stay as they were. Try again in a few minutes:
<Provider> returned error <code>, so nothing was changed. Try again in a few minutes. If it fails again, check the provider's status page or contact support.
If it repeats, check the provider's status page, remove the access at the provider and write to support. See Contact support.
A site with this status needs a connection again. Select Reconnect or another connection:
Connection needs reconnecting