# vx_req_account_logout

> Reference the Vivox Core SDK API.

**Module:** **[Logging In and Logging Out](./group__login.md)**

Log a user out of the Vivox system.  [More...](#detailed-description)

`#include <VxcRequests.h>`

## Public Attributes

|                                                        | Name                                                                                                                                                                                                                  |
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [vx\_req\_base\_t](./_vxc_8h.md#typedef-vx_req_base_t) | **[base](./structvx__req__account__logout.md#variable-base)** The common properties for all requests.                                                                                                                 |
| [VX\_HANDLE](./_vxc_8h.md#typedef-vx_handle)           | **[account\_handle](./structvx__req__account__logout.md#variable-account_handle)** The handle returned from a successful [vx\_req\_account\_anonymous\_login](./structvx__req__account__anonymous__login.md) request. |
| char \*                                                | **[logout\_reason](./structvx__req__account__logout.md#variable-logout_reason)**                                                                                                                                      |

## Detailed Description

```cpp
struct vx_req_account_logout;
```

Log a user out of the Vivox system.

**See**: [vx\_resp\_account\_logout](./structvx__resp__account__logout.md)

## Public Attributes Documentation

### variable base

```cpp
vx_req_base_t base;
```

The common properties for all requests.

### variable account\_handle

```cpp
VX_HANDLE account_handle;
```

The handle returned from a successful [vx\_req\_account\_anonymous\_login](./structvx__req__account__anonymous__login.md) request.

### variable logout\_reason

```cpp
char * logout_reason;
```

**Deprecated**:

This is deprecated and should not be used. A generic string that is returned in the logout event. Applications can use this to determine the reason for logout, if needed.
