---
title: "Deprecated"
url: "https://docs.sixfab.com/api/connect/deprecated/"
last_updated: "2026-11-26"
---

# Deprecated

**Endpoints**

- [PATCH /v1/assets/:asset_id/sim](https://docs.sixfab.com/api/connect/deprecated/update/)
- [GET /v1/assets/:asset_id/sim/usages](https://docs.sixfab.com/api/connect/deprecated/usages/)

Deprecated

## Update SIM(Deprecated)

Update an asset’s SIM properties.

**This endpoint is deprecated and will be removed on September 1, 2026. Please use the Update Asset endpoint instead.**

***network_group*** — string, optional

**default_100mb:** Default networks with 100MB data usage restrictions.\
**default_1gb:** Default networks with 1GB data usage restrictions.\
**default_10gb:** Default networks with 10GB data usage restrictions.\
**default_unlimited:** Default networks without data usage restrictions.\

**Note:** Either choose a predefined network group above or use one of your existing custom network groups with network group name.

***status*** — string, optional

**active:** Activate the SIM, allow SIM to connect to base-stations when you activate a SIM. If its not charges for current month yet, we will charge 2$ (1.6$ for customers who has more than 10 active SIMs) monthly SIM price.\
**inactive:** Deactivate the SIM, prevent SIM from connecting to base-stations.

**PATCH /v1/assets/:asset_id/sim · cURL**

```bash
curl -X PATCH 'https://api.sixfab.com/v1/assets/[ASSET_ID]/sim' \
  -H 'X-API-Key: [YOUR_API_KEY]' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

**PATCH /v1/assets/:asset_id/sim · Python**

```python
import requests

response = requests.patch(
    "https://api.sixfab.com/v1/assets/[ASSET_ID]/sim",
    headers={"X-API-Key": "[YOUR_API_KEY]"},
    json={},
)
print(response.json())
```

**PATCH /v1/assets/:asset_id/sim · Node.js**

```javascript
const response = await fetch("https://api.sixfab.com/v1/assets/[ASSET_ID]/sim", {
  method: "PATCH",
  headers: {
    "X-API-Key": "[YOUR_API_KEY]",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
console.log(await response.json());
```

**Response · 200**

```json
{
  "message": "SIM details updated successfully",
  "updated_fields": ["[UPDATED_FIELDS]"]
}
```

**Response · 400**

```json
{
  "message": "[MESSAGE]"
}
```

**Response · 403**

```json
{
  "message": "[MESSAGE]",
  "err_code": "asset_suspended"
}
```

**Response · 404**

```json
{
  "message": "Asset not found"
}
```

### Path parameters

- `asset_id` (string, Required): Serial Number, UUID, SIM SID or SIM ICCID

### Body parameters application/json

- `network_group` (string)

- `status` (enum)

  - Possible enum values: `active`, `inactive`

- `fleet` (string): Deprecated, use ‘network_group’ instead

### Returns

Success

- `message` (string): Defaults to `SIM details updated successfully`.
- `updated_fields` (array of strings, Required): List of SIM fields that were updated. Possible values: ‘network_group’ (same as ‘fleet’) and ‘status’

Deprecated

## SIM Usage Details(Deprecated)

List usage details for a SIM, supports hourly and daily granularity.

Hourly granularity returns hourly usage records for the last 14 days. Daily granularity returns daily usage records for the last 3 months.

> [!WARNING]
> **DEPRECATED:**
>
> This endpoint is deprecated and will be removed on September 1, 2026. Please migrate to `GET /v1/assets/{id}/sims/{sim_type}/usages`.

> [!WARNING]
> If you are using this API endpoint to generate critical reports (e.g., consumption reports, balance analysis, etc.), we strongly recommend waiting at least 24 hours after the reported period ends before fetching the data. This allows consumption events to be fully processed, updated, and accurately reflected in your reports. During this period, you may notice discrepancies between the data retrieved from the API and the data on the Connect platform, as not all data may have been processed yet.

**GET /v1/assets/:asset_id/sim/usages · cURL**

```bash
curl 'https://api.sixfab.com/v1/assets/[ASSET_ID]/sim/usages' \
  -H 'X-API-Key: [YOUR_API_KEY]'
```

**GET /v1/assets/:asset_id/sim/usages · Python**

```python
import requests

response = requests.get(
    "https://api.sixfab.com/v1/assets/[ASSET_ID]/sim/usages",
    headers={"X-API-Key": "[YOUR_API_KEY]"},
)
print(response.json())
```

**GET /v1/assets/:asset_id/sim/usages · Node.js**

```javascript
const response = await fetch("https://api.sixfab.com/v1/assets/[ASSET_ID]/sim/usages", {
  headers: {
    "X-API-Key": "[YOUR_API_KEY]",
  },
});
console.log(await response.json());
```

**Response · 200**

```json
{
  "granularity": "hourly",
  "records": [
    {
      "start_time": 1791530400,
      "end_time": 1791530400,
      "usages": [
        {
          "network": "[NETWORK]",
          "download": 0,
          "upload": 0
        }
      ]
    }
  ]
}
```

**Response · 404**

```json
{
  "message": "Asset not found"
}
```

### Path parameters

- `asset_id` (string, Required): Serial Number, UUID, SIM SID or SIM ICCID

### Query parameters

- `granularity` (enum): Defaults to `hourly`.

  - Possible enum values: `hourly`, `daily`

### Returns

Success

- `granularity` (enum): Defaults to `hourly`.

  - Possible enum values: `hourly`, `daily`

- `records` (array of objects, Required)

  - `start_time` (integer or number, Required): Start time of period, as unix timestamp

  - `end_time` (integer or number, Required): End time of period, as unix timestamp

  - `usages` (array of objects, Required)

    - `network` (string, Required): Network ID
    - `download` (integer, Required): Total download in bytes for network
    - `upload` (integer, Required): Total upload in bytes for network
