Skip to main content

Documentation Index

Fetch the complete documentation index at: https://rollout.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

You can handle credential deletion events in your app by using the onCredentialDeleted callback on the CredentialsManager component. This allows you to respond when a user removes their credentials—such as updating your UI, showing a notification, or triggering additional logic.
function Rollout() {
  return (
    <CredentialsManager
      onCredentialDeleted={({ appKey, id }) => {
        console.log("Credential deleted:", appKey, id);
      }}
    />
  );
}
Whenever a user deletes credentials, the onCredentialDeleted function will be called with an object containing the appKey and the id of the deleted credential. You can use this callback to refresh data, show a success message, or sync credential state elsewhere in your app.