# User page

## General data

General user data includes the following information:

| Parameter         | Description                                                                                                                                                                                                                             |
| ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Traffic           | User daily bandwidth limit (in Mb). If the user doesn't have a bandwidth limit, you will see *'Unlimited'*. You can change the user bandwidth limit (see below).                                                                        |
| License           | User license. The license determines how many devices a user can register. You can change the license (see below).                                                                                                                      |
| Activated devices | Number of user's registered devices                                                                                                                                                                                                     |
| Status            | <p>User status:</p><ul><li>Invited - a user that has been registered, but has not logged in for the first time.</li><li>Active - an active user.</li><li>Disabled - a blocked user. The user can't use the Platform services.</li></ul> |
| Registration time | The time of the first user's registration in the project.                                                                                                                                                                               |
| Purchases         | This parameter is displayed only for users of *'Public VPN'* projects. If a user has an active subscription, this field will contain *'Active'*.                                                                                        |
| Extref            | Additional parameter. It can include any data (e.g. User ID of your external service). You can change this (see below).                                                                                                                 |
| Description       | User description (e.g. user's full name). You can change this (see below).                                                                                                                                                              |
| User country      | User's original country. You can change this (see below).                                                                                                                                                                               |
| Auth method       | Authentication method of this user.                                                                                                                                                                                                     |

## Sessions

You can find all sessions of the user on this page. This page includes the list of sessions and the search filter.

| Parameter   | Description                                                                                                                          |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Device ID   | Device ID, generated by the Platform.                                                                                                |
| Server      | Name of VPN node. It is the name of a server with a VPN tunnel between it and the user's device.                                     |
| Location    | Location of the VPN server.                                                                                                          |
| Start time  | Session start time.                                                                                                                  |
| End time    | Session end time. If the session is active, this field will be empty.                                                                |
| Internal IP | Internal IP address of this session (VPN node assigns the IP for this session). This IP is not a real user's IP or user external IP. |
| Download    | Received bytes                                                                                                                       |
| Upload      | Transmitted bytes                                                                                                                    |

You can sort the list data by any column.

{% hint style="info" %}
You will see active sessions on top of the session list.
{% endhint %}

At the top, there is a filter. You can filter the session list by user device or session time.

![Devices Filter](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-0433a781272841b11dff6d3b4942a704e8289138%2Ffilter_devices.png?alt=media)

![Session time filter](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-e6b4c5cacc2e76876f99d92584c1086aa65de236%2Ffilter_date.png?alt=media)

{% hint style="info" %}
Selected session time periods can be up to 30 days.
{% endhint %}

## Devices

You can find all of the user's devices on this page. This page includes the following characteristics:

| Parameter         | Description                                                                            |
| ----------------- | -------------------------------------------------------------------------------------- |
| Device ID         | Device ID, generated by the Platform.                                                  |
| Access Token      | Device secret, generated by the Platform.                                              |
| Name              | Device name                                                                            |
| Device Type       | <p>Device type:</p><ul><li>Android</li><li>iOS</li><li>macOS</li><li>Windows</li></ul> |
| Registration Time | Device registration time                                                               |

You can delete a user's device from the list (see **Actions** on this page).

## Purchases

All user subscriptions can be found on this page. This page includes a list of subscriptions.

{% hint style="info" %}
This page is available only in "*Public VPN*" projects.
{% endhint %}

| Parameter        | Description                                                              |
| ---------------- | ------------------------------------------------------------------------ |
| Transaction ID   | Purchase transaction ID                                                  |
| Product ID       | Purchase product ID                                                      |
| Type             | <p>Purchase type:</p><ul><li>apple</li><li>google</li><li>etc.</li></ul> |
| Transaction Time | Purchase transaction time                                                |
| Expiration Time  | Purchase expiration time                                                 |
| Active           | Shows whether a purchase is active or not                                |
| Trial            | Shows whether the trial period is active or not                          |
| Raw Data         | Raw purchase data in JSON format                                         |

You can deactivate an active purchase and try to activate a non-active purchase (see **Actions** on this page).

## Actions

### Changing a user's bandwidth limit

To change the *"Traffic"* parameter, you need to:

1. Open User - *"General"* tab
2. Click the Settings icon<img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-8850ad7754cbc6f8568a37a6e5796aa205ef170f%2Fsettings_icon.webp?alt=media" alt="" data-size="line">

![](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-443d6c7b51030c55f1909299f363e50eb836c298%2Fset_limit.png?alt=media)

3\. In this form, you can:

* Set daily limit (bytes),
* Toggle th&#x65;*"Traffic reset"* on and off. The current daily limit will reset to 0 after the limit update.
* Set the user's traffic limit to unlimited.

4\. Click the *"Set limit"* button to update the traffic limit.

### Changing the license

To change the *"License"* parameter, you need to:

1. Open User - *"General"* tab
2. Click the Edit icon <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-c58d42ddc5af4b3afb7fd14e86ba2bf00ad5de82%2Fedit_icon.png?alt=media" alt="" data-size="line">near the corresponding f
3. Select a new license from the list of available licenses and click the *"Save"* button to update it.

{% hint style="info" %}
The license name usually includes 2 numbers. The first number is the limit of devices.
{% endhint %}

### Changing Description, Extref or Country

To change the *"Description"*, *"Extref"* or *"User country"* parameters, you need to:

1. Open User - *"General"* tab
2. Click the Edit icon <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-c58d42ddc5af4b3afb7fd14e86ba2bf00ad5de82%2Fedit_icon.png?alt=media" alt="" data-size="line"> near the corresponding field
3. Change the values and click the *"Save"* button to update the parameters.

### Changing a user's status

To activate or deactivate a user, you need to:

1. Open User - *"General"* tab
2. Click the <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-b2cf9a4868b56c0b01a19ce111151a0819c087a7%2Fcheckbox.webp?alt=media" alt="" data-size="line"> Status checkbox. Checkbox ON - user active, checkbox OFF - user disabled.

### Deleting a device

If a user doesn't have free device slots (reached the limit of devices), you can delete his old registered devices.

{% hint style="info" %}
Sessions with deleted devices will be available in the user's session story.
{% endhint %}

To delete a user's device, you need to:

1. Open User - *"Devices"* tab
2. Select a device to delete and click the <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-34afcdefcf3a0128c33152bc6dc73aee5f2f3412%2Fdelete_icon.png?alt=media" alt="" data-size="line">icon .

![](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-d06003f707a8285e778625667724943cf12dfe86%2Fdelete_device.png?alt=media)

3\. Click the *"Delete device"* button to finish.

### Activating/deactivating a purchase

You can try to activate a purchase or deactivate an active purchase.

#### Deactivating a purchase

To deactivate a purchase, you need to:

1. Open User - *"Purchases"* tab
2. Select an active purchase in the list and click the <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-34afcdefcf3a0128c33152bc6dc73aee5f2f3412%2Fdelete_icon.png?alt=media" alt="" data-size="line"> icon near it

![](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-17af39c1d04ee83746f46ecff0c6c8eb1b37b99f%2Fpurchas_deactivate.png?alt=media)

3\. Click the *"Disable purchase"* button.

{% hint style="info" %}
Usually, the application logic tries to recover a purchase if it has a valid receipt.
{% endhint %}

#### Activating a purchase

To activate a purchase, you need to:

1. Open User - *"Purchases"* tab
2. Select an inactive purchase in the list and click the <img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-d067e13dd92ef68b5128d147db065ca9113c7a74%2Fplay_icon.webp?alt=media" alt="" data-size="line"> icon near it

![](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-08158227cabde8036455770aa69cd65f62af2843%2Fpurchase_activation.png?alt=media)

3\. Click the *"Activate purchase"* button.

{% hint style="info" %}
The Platform verifies active purchases every 24 hours. If a purchase verification fails, the platform will automatically deactivate it again.
{% endhint %}

### Deleting a user

You can delete a user and all his data (user info, user devices, session story). To delete a user, you need to:

1. Click the<img src="https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-34afcdefcf3a0128c33152bc6dc73aee5f2f3412%2Fdelete_icon.png?alt=media" alt="" data-size="line"> icon in the top-right corner

![](https://3437387582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M57yuAWriRSwZHosffd%2Fuploads%2Fgit-blob-3dfc7c7acb872190b4ed0b5f46179d1407fa65fd%2Fuser_delete.png?alt=media)

2\. Set the user ID. It is necessary for the verification of the action

3\. Click the *"Delete user data"* button.

{% hint style="danger" %}
**Caution**: this action is **irreversible**.
{% endhint %}
