Skip to main content
All CollectionsGetting startedSIM management guides
How to update data limit on a SIM?

How to update data limit on a SIM?

Update data limits in the Onomondo app or use the API.

Jakub Kubinski avatar
Written by Jakub Kubinski
Updated over a month ago

Environment

Question

  • How to update data limit on a SIM?

  • 'Your device is blocked because it has reached the data limit for the period'. What can be done in this situation?

Answer

Update data limits in the Onomondo app.

  1. Find SIM in the SIMs tab.

  2. Click the 'Edit' icon located on the left-hand side.

  3. Scroll down to the 'Data Limits' section.

  4. Adjust the settings as needed, including the total data limit and alert threshold.

  5. Click 'Save'.

Workaround

Use the API.

  1. Use your API Key or create a new one.

  2. Prepare PATCH Update SIM request, according to the instructions.

  3. Update the values in the "data_limit" object accordingly.

  4. Send the request to https://api.onomondo.com/sims/{{sim_id}}.

Example:

curl --location -g --request PATCH 'https://api.onomondo.com/sims/{{sim_id}}' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"data_limit": {
"total": 1000000,
"type": "hourly",
"alert_threshold": 800000
}
}'

Free Trial customers cannot update data limits, as they are capped at 50 MB per SIM.


​

Did this answer your question?