---
updatedAt: 2026-08-29T02:45:38.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/platform-api/llms.txt
---

# Restart a device

Requests that a device restart

**Required Permissions:** `device-actions:execute`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Device Management Actions API",
    "description": "API for invoking common management tasks against managed devices",
    "version": "1.0.0",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement/",
    "contact": {
      "name": "Jamf Developer",
      "url": "https://developer.jamf.com"
    }
  },
  "paths": {
    "/v1/devices/{id}/restart": {
      "parameters": [
        {
          "$ref": "#/components/parameters/DeviceId"
        }
      ],
      "post": {
        "summary": "Restart a device",
        "description": "Requests that a device restart\n\n**Required Permissions:** `device-actions:execute`",
        "tags": [
          "device-actions"
        ],
        "responses": {
          "201": {
            "description": "Device restart requested successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DeviceCommandResponse"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The requested device could not be found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          },
          "422": {
            "description": "The specified device cannot be restarted. This is typically because the device is unmanaged, personal, or running an OS version that does not support the restart command.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiError"
                }
              }
            }
          }
        },
        "x-action": true,
        "parameters": [
          {
            "$ref": "#/components/parameters/X-Environment-Id"
          }
        ],
        "security": [
          {
            "oauth2": [
              "device-actions:execute"
            ]
          }
        ],
        "x-required-privileges": [
          "device-actions:execute"
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "DeviceId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        },
        "description": "The ID of the device, in UUID format",
        "example": "616e6479-6973-6173-7461-6c6c696f6e21"
      },
      "X-Environment-Id": {
        "name": "X-Environment-Id",
        "in": "header",
        "required": true,
        "description": "The environment UUID identifier.",
        "schema": {
          "type": "string",
          "format": "uuid",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
          "example": "e77c1408-10c8-4007-b177-abc9157fbcaa"
        }
      }
    },
    "schemas": {
      "DeviceCommandResponse": {
        "type": "object",
        "description": "The result of a management action command issued to a device, including the created command's identifier.",
        "properties": {
          "deviceId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the device to which the command was sent",
            "example": "616e6479-6973-6173-7461-6c6c696f6e21"
          },
          "commandId": {
            "type": "string",
            "format": "uuid",
            "description": "The ID of the command that was created to perform the requested action",
            "example": "616e6479-6973-6173-7461-6c6c696f6e21"
          }
        },
        "required": [
          "deviceId",
          "commandId"
        ]
      },
      "ApiError": {
        "type": "object",
        "description": "Standard error response returned when a request cannot be completed.",
        "properties": {
          "httpStatus": {
            "type": "integer",
            "description": "HTTP status of the response",
            "example": 400
          },
          "traceId": {
            "type": "string",
            "example": "ecf2ca07e23c0abc12393472f2b783df"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Error-specific code that can be used to identify localization string, etc.",
                  "example": "INVALID_FIELD"
                },
                "field": {
                  "type": "string",
                  "description": "Name of the field that caused the error.",
                  "example": "Name"
                },
                "description": {
                  "type": "string",
                  "description": "A general description of error for troubleshooting/debugging. Generally this text should not be displayed to a user; instead refer to errorCode and its localized text",
                  "example": "I've just picked up a fault in the AE35 unit. It's going to go 100% failure in 72 hours"
                },
                "id": {
                  "type": "string",
                  "description": "id of object with error. Optional.",
                  "example": "3"
                }
              },
              "required": [
                "code",
                "field",
                "description"
              ]
            }
          }
        },
        "required": [
          "httpStatus",
          "traceId",
          "errors"
        ]
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "Obtain an access token by calling the API Gateway's token endpoint using the OAuth2 client-credentials flow.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://{region}.api.jamfcloud.com/auth/token",
            "scopes": {
              "destructive-device-actions:execute": "",
              "device-actions:execute": ""
            }
          }
        }
      }
    }
  },
  "x-scope-types": [
    "environment"
  ],
  "servers": [
    {
      "url": "https://{region}.api.jamfcloud.com/device-actions",
      "description": "Jamf Beta API Gateway - prod",
      "variables": {
        "region": {
          "default": "us",
          "enum": [
            "us",
            "eu",
            "apac"
          ],
          "description": "Geographic deployment region"
        }
      }
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ]
}
```