auth.logOut
Logs out the user.
func (c *Client) AuthLogOut(ctx context.Context) (*AuthLoggedOut, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AuthLogOut(ctx)
if err != nil {
return err
}
_ = res // *AuthLoggedOut
return nil
})
Parameters
This method takes no parameters.
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
auth.logOut#3e72ba19