SDK Example: Sign Out User (Fall ‘20)

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

1// Instantiate the input object for signOutUser to specify parameters
2const input = digitalCommerce.createSignOutUserInput();
3
4// Invoke authenticateUser API
5digitalCommerce
6  .signOutUser(input)
7  .then(response => {
8    Logger.info(
9      "Vlocity digital commerce signOutUser: " + JSON.stringify(response)
10    );
11  })
12  .catch(error => {
13    Logger.info("signOutUser call failed" + error);
14  });