Skip to content
On this page

logout ​

Definition ​

End up the user session.

Signature ​

ts
export async function logout(
  contextInstance: ShopwareApiInstance = defaultInstance,
): Promise<void> 

Parameters ​

NameTypeDescription
contextInstance
ShopwareApiInstance
ShopwareApiInstance

Return type ​

ts
Promise<void>

Properties ​

NameTypeDescription

Usage example ​

WARNING

Example is generated automatically. Sometimes it's required to be adjusted to your needs.

Open in StackBlitz

logout has loaded