> This page is for Portal.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.emnify.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.emnify.com/_mcp/server.

> How to configure or turn off data or SMS quotas for your devices on the emnify Portal

Quota management is available through [**Device Policies**](https://portal.emnify.com/device-policies) in the emnify Portal.

## Prerequisites

[Create a service policy](/portal/how-tos/create-service-policies).

[Assign your devices to the service policy](/portal/how-tos/assign-devices-to-policies).

> **Tip**
>
> See [Quota management](/services/quota-management) to learn more about quota limits and enforcement.

## Turn on data or SMS quotas

In [**Service Policies**](https://portal.emnify.com/device-policies#service-policies), choose the policy you want to update and expand the policy details.

In **Data** or **SMS**, click the **Data Quota** or **SMS Quota** toggle to the on position.

Read the prompt about setting up a specific quota per device, then click **Confirm**.

## Set a quota for your devices

After you turn on quota management in the service policy, you must assign a quota to each device that uses this service policy.
Otherwise, these devices are blocked from creating PDP activation sessions because there's no defined quota.

Navigate to your [**Connected Devices**](https://portal.emnify.com/connected-devices).

Click **+ Add Filter**, then **Service Policy**.

![](/_fern-img/fb357b453ee3b36fd358ab46bb32d213fd1f083b3264aed7c5a0021a7506adaa.webp)

Select the service policy where you turned on quota management, then click **Apply**.

![](/_fern-img/f8910cd7708d236363c46e7fe771c725aea0588b7fe1349bbe4e72c5a897b09d.webp)

Choose a device you want to set a quota on and click anywhere on the table row to open the device details.

![](/_fern-img/5e9d57b9ecd656a188b27845b2bb9ff90f1fe7fb7af7a460265b2bc7265610c9.webp)

The **Quota** section should be visible under **Usage**, warning that a quota is enabled in the service policy but not configured for this device.
Click **Configure quota**.

![](/_fern-img/5c0bad288736e2a952da8eba7102bf98c9734c86d9e0b2e08fe63eaddbbca540.webp)

Fill in your desired quota settings, then click **Add**.
The following example shows the default configuration for an activated **Data Quota** and a disabled **SMS Quota**.

![Quota form with Data Quota amount in MB, expiry date, daily refill toggle, and a disabled SMS Quota](/_fern-img/c30adb4fcc4a7e28f0cac256b2823d69284fbc51191ac5d72c1d3bf087a084f6.webp)

Now, you can view your quota information in two places on **Device Details**:

* **General** tab > **Usage** > **Quota**

  ![Quota section with a usage bar showing 0 B of 1 MB used and an Active label](/_fern-img/5278c45a82065bb8f51f7d283cf854a89eb8bf42e959f5541ad7bf652a4834b1.webp)

* **Quota** tab > **Quota**

  ![Data Quota details with 1 MB amount, February 3 2024 expiry, auto refill Yes, block on exhaustion, 45 percent threshold](/_fern-img/ff4583aed1442c3e45ff56ef8d233d0e97278b3452daee48bd314d498c61faf0.webp)

## Turn off data or SMS quotas

In [**Service Policies**](https://portal.emnify.com/device-policies#service-policies), choose the policy you want to update and expand the policy details.

In **Data** or **SMS**, click the **Data Quota** or **SMS Quota** toggle to the off position.

Read the prompt about deleting the quota for your devices, then click **Confirm**.