docs: def remove_profile(self, profile=None):
          """Remove profile from credentials file.
  
          Args:
              profile (str): Credentials profile to remove.
  
          Returns:
              list: List of affected document IDs.
  
          """
          with self.db:
              return self.db.remove(self.query.profile == profile)