---
title: "Updates | Docs | IoT by R&D Copilot"
description: "Read and manage updates through the IoT API with authenticated, versioned requests."
canonical: "https://iot.rdcopilot.com/docs/api-reference/updates/"
language: en
updated: 2026-11-22
---

# Updates

Read and manage updates through the IoT API with authenticated, versioned requests.

## List updates

GET `/iot/v1/updates`

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `limit` | query | `integer` | Nooptional | Records per page. Default `100` Range `1` – `500` |
| `cursor` | query | `string` | Nooptional | Opaque nextCursor from the previous response. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | A page of records. | `UpdatePage` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/iot/v1/updates?limit=20" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates?limit=20`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates?limit=20',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates?limit=20');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates?limit=20");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "items": [
    {
      "id": "update-1",
      "firmware": "2.4.2",
      "state": "ready",
      "stage": 0,
      "population": 38,
      "results": [],
      "revision": 1
    }
  ],
  "nextCursor": null
}
```

## Create an update

POST `/iot/v1/updates`

Apply the change once. Reuse the operationId after a timeout; a different payload with the same key is refused.

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | Caller-selected UUID; reuse only for the same request. |
| `expectedRevision` | `integer` | Yesrequired | Last revision read; zero for creation. |
| `firmware` | `string` | Yesrequired | Approved target firmware version. |
| `deviceIds` | `string[]` | Yesrequired | Non-empty cohort of compatible device identifiers. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | Accepted for processing; poll the operation for completion. | `OperationResult` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `409` | revision\_conflict when the record changed; operation\_reused when an operationId is reused with different content. | `Error` |
| `422` | Request refused: INVALID\_TRANSITION. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/iot/v1/updates" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "a1000000-0000-4000-8000-000000000004",
  "expectedRevision": 0,
  "firmware": "2.4.2",
  "deviceIds": [
    "device-1",
    "device-2",
    "device-3",
    "device-4",
    "device-5",
    "device-6",
    "device-7",
    "device-8",
    "device-9",
    "device-10",
    "device-11",
    "device-12",
    "device-13",
    "device-14",
    "device-16",
    "device-17",
    "device-18",
    "device-19",
    "device-20",
    "device-21",
    "device-22",
    "device-23",
    "device-24",
    "device-25",
    "device-26",
    "device-27",
    "device-28",
    "device-29",
    "device-30",
    "device-31",
    "device-32",
    "device-33",
    "device-34",
    "device-35",
    "device-37",
    "device-38",
    "device-39",
    "device-40"
  ]
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "a1000000-0000-4000-8000-000000000004",
    "expectedRevision": 0,
    "firmware": "2.4.2",
    "deviceIds": [
      "device-1",
      "device-2",
      "device-3",
      "device-4",
      "device-5",
      "device-6",
      "device-7",
      "device-8",
      "device-9",
      "device-10",
      "device-11",
      "device-12",
      "device-13",
      "device-14",
      "device-16",
      "device-17",
      "device-18",
      "device-19",
      "device-20",
      "device-21",
      "device-22",
      "device-23",
      "device-24",
      "device-25",
      "device-26",
      "device-27",
      "device-28",
      "device-29",
      "device-30",
      "device-31",
      "device-32",
      "device-33",
      "device-34",
      "device-35",
      "device-37",
      "device-38",
      "device-39",
      "device-40"
    ]
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'a1000000-0000-4000-8000-000000000004',
        'expectedRevision': 0,
        'firmware': '2.4.2',
        'deviceIds': [
            'device-1',
            'device-2',
            'device-3',
            'device-4',
            'device-5',
            'device-6',
            'device-7',
            'device-8',
            'device-9',
            'device-10',
            'device-11',
            'device-12',
            'device-13',
            'device-14',
            'device-16',
            'device-17',
            'device-18',
            'device-19',
            'device-20',
            'device-21',
            'device-22',
            'device-23',
            'device-24',
            'device-25',
            'device-26',
            'device-27',
            'device-28',
            'device-29',
            'device-30',
            'device-31',
            'device-32',
            'device-33',
            'device-34',
            'device-35',
            'device-37',
            'device-38',
            'device-39',
            'device-40',
        ],
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "a1000000-0000-4000-8000-000000000004",
  "expectedRevision": 0,
  "firmware": "2.4.2",
  "deviceIds": [
    "device-1",
    "device-2",
    "device-3",
    "device-4",
    "device-5",
    "device-6",
    "device-7",
    "device-8",
    "device-9",
    "device-10",
    "device-11",
    "device-12",
    "device-13",
    "device-14",
    "device-16",
    "device-17",
    "device-18",
    "device-19",
    "device-20",
    "device-21",
    "device-22",
    "device-23",
    "device-24",
    "device-25",
    "device-26",
    "device-27",
    "device-28",
    "device-29",
    "device-30",
    "device-31",
    "device-32",
    "device-33",
    "device-34",
    "device-35",
    "device-37",
    "device-38",
    "device-39",
    "device-40"
  ]
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "a1000000-0000-4000-8000-000000000004",
  "expectedRevision": 0,
  "firmware": "2.4.2",
  "deviceIds": [
    "device-1",
    "device-2",
    "device-3",
    "device-4",
    "device-5",
    "device-6",
    "device-7",
    "device-8",
    "device-9",
    "device-10",
    "device-11",
    "device-12",
    "device-13",
    "device-14",
    "device-16",
    "device-17",
    "device-18",
    "device-19",
    "device-20",
    "device-21",
    "device-22",
    "device-23",
    "device-24",
    "device-25",
    "device-26",
    "device-27",
    "device-28",
    "device-29",
    "device-30",
    "device-31",
    "device-32",
    "device-33",
    "device-34",
    "device-35",
    "device-37",
    "device-38",
    "device-39",
    "device-40"
  ]
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "a1000000-0000-4000-8000-000000000004",
  "status": "accepted",
  "aggregateRevision": 1
}
```

## Read an update

GET `/iot/v1/updates/{updateId}`

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `updateId` | path | `string` | Yesrequired | Identifier of the requested resource. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `200` | The current record. | `Update` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl "$RDC_BASE_URL/iot/v1/updates/update-1" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates/update-1`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates/update-1',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates/update-1');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates/update-1");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `200`

JSON

```json
{
  "id": "update-1",
  "firmware": "2.4.2",
  "state": "ready",
  "stage": 0,
  "population": 38,
  "results": [],
  "revision": 1
}
```

## Start an update

POST `/iot/v1/updates/{updateId}/start`

Apply the change once. Reuse the operationId after a timeout; a different payload with the same key is refused.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `updateId` | path | `string` | Yesrequired | Identifier of the requested resource. |

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | Caller-selected UUID; reuse only for the same request. |
| `expectedRevision` | `integer` | Yesrequired | Last revision read; zero for creation. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | Accepted for processing; poll the operation for completion. | `OperationResult` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `409` | revision\_conflict when the record changed; operation\_reused when an operationId is reused with different content. | `Error` |
| `422` | Request refused: INVALID\_TRANSITION. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/iot/v1/updates/update-1/start" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "a1000000-0000-4000-8000-000000000020",
  "expectedRevision": 1
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates/update-1/start`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "a1000000-0000-4000-8000-000000000020",
    "expectedRevision": 1
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates/update-1/start',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'a1000000-0000-4000-8000-000000000020',
        'expectedRevision': 1,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "a1000000-0000-4000-8000-000000000020",
  "expectedRevision": 1
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates/update-1/start');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates/update-1/start");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "a1000000-0000-4000-8000-000000000020",
  "expectedRevision": 1
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "a1000000-0000-4000-8000-000000000020",
  "status": "accepted",
  "aggregateRevision": 2
}
```

## Stop an update

POST `/iot/v1/updates/{updateId}/stop`

Apply the change once. Reuse the operationId after a timeout; a different payload with the same key is refused.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `updateId` | path | `string` | Yesrequired | Identifier of the requested resource. |

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | Caller-selected UUID; reuse only for the same request. |
| `expectedRevision` | `integer` | Yesrequired | Last revision read; zero for creation. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | Accepted for processing; poll the operation for completion. | `OperationResult` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `409` | revision\_conflict when the record changed; operation\_reused when an operationId is reused with different content. | `Error` |
| `422` | Request refused: INVALID\_TRANSITION. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/iot/v1/updates/update-1/stop" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "a1000000-0000-4000-8000-000000000021",
  "expectedRevision": 2
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates/update-1/stop`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "a1000000-0000-4000-8000-000000000021",
    "expectedRevision": 2
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates/update-1/stop',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'a1000000-0000-4000-8000-000000000021',
        'expectedRevision': 2,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "a1000000-0000-4000-8000-000000000021",
  "expectedRevision": 2
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates/update-1/stop');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates/update-1/stop");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "a1000000-0000-4000-8000-000000000021",
  "expectedRevision": 2
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "a1000000-0000-4000-8000-000000000021",
  "status": "accepted",
  "aggregateRevision": 3
}
```

## Resume an update

POST `/iot/v1/updates/{updateId}/resume`

Apply the change once. Reuse the operationId after a timeout; a different payload with the same key is refused.

### Parameters

| Name | In | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `updateId` | path | `string` | Yesrequired | Identifier of the requested resource. |

### Request body

| Field | Type | Required | Meaning |
| --- | --- | --- | --- |
| `operationId` | `string (uuid)` | Yesrequired | Caller-selected UUID; reuse only for the same request. |
| `expectedRevision` | `integer` | Yesrequired | Last revision read; zero for creation. |

### Responses

| Status | Meaning | Body |
| --- | --- | --- |
| `202` | Accepted for processing; poll the operation for completion. | `OperationResult` |
| `400` | Request refused: invalid\_request. No change is applied. | `Error` |
| `401` | Request refused: unauthorized. No change is applied. | `Error` |
| `403` | Request refused: forbidden. No change is applied. | `Error` |
| `404` | Request refused: record\_not\_found. No change is applied. | `Error` |
| `409` | revision\_conflict when the record changed; operation\_reused when an operationId is reused with different content. | `Error` |
| `422` | Request refused: INVALID\_TRANSITION. No change is applied. | `Error` |
| `429` | Request refused: rate\_limited. No change is applied. | `Error` |
| `503` | Request refused: unavailable. No change is applied. | `Error` |

### Request

curl

```bash
curl -X POST "$RDC_BASE_URL/iot/v1/updates/update-1/resume" \
  -H "Authorization: Bearer $RDC_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "operationId": "a1000000-0000-4000-8000-000000000022",
  "expectedRevision": 3
}'
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/iot/v1/updates/update-1/resume`, {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "operationId": "a1000000-0000-4000-8000-000000000022",
    "expectedRevision": 3
  }),
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'POST',
    f'{os.environ["RDC_BASE_URL"]}/iot/v1/updates/update-1/resume',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
    json={
        'operationId': 'a1000000-0000-4000-8000-000000000022',
        'expectedRevision': 3,
    },
)
result = response.json()
```

PHP

```php
<?php

$body = <<<'JSON'
{
  "operationId": "a1000000-0000-4000-8000-000000000022",
  "expectedRevision": 3
}
JSON;

$curl = curl_init(getenv('RDC_BASE_URL') . '/iot/v1/updates/update-1/resume');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => $body,
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/iot/v1/updates/update-1/resume");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
request.Content = new StringContent("""
{
  "operationId": "a1000000-0000-4000-8000-000000000022",
  "expectedRevision": 3
}
""", System.Text.Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

### Response `202`

JSON

```json
{
  "operationId": "a1000000-0000-4000-8000-000000000022",
  "status": "accepted",
  "aggregateRevision": 4
}
```
