---
title: Restart a Device
slug: jetstream-v2/restart-a-device
docTags: 
createdAt: 2024-01-23T15:35:22.174Z
---

## About

Instruct the specified device to restart.

| **Command Type**           | **Device is Online**                   | **Device is Offline**               |
| -------------------------- | -------------------------------------- | ----------------------------------- |
| Not Synchronous, Queueable | Immediate execution, Published results | Queued execution, Published results |

## Parameters

| **Property**                                        | **Location** | **Details**                                                                                                                                                   |
| --------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **AccessKey**<br />string<br />Required<br />Unique | Header       | The access key for your user account.<br />This value is a 36-character GUID provided during [user account sign up](https://jetstreamrfid.com/login/signup).  |
| **Name**<br />string<br />Required<br />Unique      | URL          | The name of the device.<br />This value has a max length of 128 ASCII characters.<br />This value must adhere to this regular expression: ^\[a-zA-Z0-9-\_]\*$ |

## Example

### Request URL

**POST** https\://api.jetstreamrfid.com/2/devices/\{Device Name}/reset

### Request Body

None Required

### Response Code

200 OK

### Response Body

:::BlockQuote
\{
&#x9;"CommandId": "0a80f878-8cdf-4265-beb9-2649e3affe36",
&#x9;"Status": "Queued",
&#x9;"ExceptionList": \[],
&#x9;"OutputParameterList": \[]
}
:::

### Published CommandQueuedEvent

:::BlockQuote
\{
&#x9;"Device": "MyDeviceName",
&#x9;"CommandId": "0a80f878-8cdf-4265-beb9-2649e3affe36",
&#x9;"CommandName": "ResetCommand",
&#x9;"URI": "/2/Devices/MyDeviceName/reset",
&#x9;"Verb": "Get",
&#x9;"User": "MyUserName",
&#x9;"Parameters": \[],
&#x9;"Type": "CommandQueuedEvent",
&#x9;"EventId": "b705e17a-b64b-4bf1-bfb0-29f0b3ac1e23",
&#x9;"EventTime": "2017-05-17T19:57:52Z"
}
:::

### Published CommandCompletionEvent

:::BlockQuote
\{
&#x9;"CommandId": "0a80f878-8cdf-4265-beb9-2649e3affe36",
&#x9;"CommandName": "ResetCommand",
&#x9;"OutputParameterList": \[],
&#x9;"ExceptionList": \[],
&#x9;"Device": "MyDeviceName",
&#x9;"ReceivedTime": "2017-05-17T20:05:06Z",
&#x9;"Type": "CommandCompletionEvent",
&#x9;"EventId": "d8fc5071-c933-4b6a-b735-225b413e4894",
&#x9;"EventTime": "2017-05-17T20:05:29Z"
}
:::

## Version Changes

Replaces ResetCommand
