SDK Example: Sign Out User (Fall '20)

Use the example SDK code in this topic sign out a user.

// Instantiate the input object for signOutUser to specify parameters
const input = digitalCommerce.createSignOutUserInput();

// Invoke authenticateUser API
digitalCommerce
  .signOutUser(input)
  .then(response => {
    Logger.info(
      "Vlocity digital commerce signOutUser: " + JSON.stringify(response)
    );
  })
  .catch(error => {
    Logger.info("signOutUser call failed" + error);
  });