Home > @vsf-enterprise/bigcommerce-api > Endpoints > logoutCustomer
# Endpoints.logoutCustomer() method
Logs out the currently logged-in customer by deleting the authentication related cookies.
Signature:
logoutCustomer(context: BigcommerceIntegrationContext): Promise<void>;
# Parameters
Parameter | Type | Description |
---|---|---|
context | BigcommerceIntegrationContext | An auto-generated value prepended to the method as a first parameter. |
Returns:
Promise<void>