---
updatedAt: 2025-11-12T21:30:51.000Z
agentTools:
  projectIndex: https://docs.telemetrytv.com/llms.txt
---

# Update a Device

Send a PATCH request to change device properties

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "user-api",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://api.telemetrytv.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "token",
        "x-default": "abc123abc123abc123abc123"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/devices/{id}": {
      "patch": {
        "summary": "Update a Device",
        "description": "Send a PATCH request to change device properties",
        "operationId": "devicesid-1",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "takes the identifier of the device url",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "organisation_id": {
                    "type": "string"
                  },
                  "playlist_page_id": {
                    "type": "string"
                  },
                  "playlist_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "notify_on_offline": {
                    "type": "boolean"
                  },
                  "notify_on_play_failure": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "string"
                  },
                  "serial_connection": {
                    "properties": {
                      "log_responses": {
                        "type": "boolean"
                      },
                      "options": {
                        "properties": {
                          "bitrate": {
                            "type": "string"
                          },
                          "bufferSize": {
                            "type": "string"
                          },
                          "ctsFlowControl": {
                            "type": "string"
                          },
                          "databits": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "parityBit": {
                            "type": "string",
                            "description": "Yes or No"
                          },
                          "receiveTimeout": {
                            "type": "integer",
                            "format": "int32"
                          },
                          "sendTimeout": {
                            "type": "integer",
                            "format": "int32"
                          }
                        },
                        "required": [],
                        "type": "object"
                      },
                      "path": {
                        "type": "string",
                        "default": "/dev/ttyUSB0"
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "restart_time": {
                    "type": "string",
                    "format": "date"
                  },
                  "active_hours": {
                    "type": "string",
                    "description": "set as time range i.e. 11:00:00-14:00:00"
                  },
                  "active_window": {
                    "properties": {
                      "days": {
                        "type": "array",
                        "description": "sets as sun, tue, wed, thur, fri, sat, sun",
                        "items": {
                          "type": "string"
                        }
                      },
                      "hours": {
                        "type": "string"
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "serial_commands": {
                    "properties": {
                      "items": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "type": {
                              "type": "string",
                              "default": "specific"
                            }
                          },
                          "type": "object"
                        }
                      }
                    },
                    "required": [],
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"account_id\": \"5dba92731b5d034f7d8dcasas\",\n    \"api_enabled\": \"electron\",\n    \"connection_count\": 6,\n    \"cpu_load_percent\": 2,\n    \"created_at\": 1637153557.1660001,\n    \"id\": \"6194fb151b5d032f1312f7b9\",\n    \"last_online\": 1637304687,\n    \"last_seen_date\": 1637304687.374,\n    \"last_seen_ip\": \"10.110.133.212\",\n    \"last_system_on\": 1637304687,\n    \"locked\": true,\n    \"memory_used_percent\": 99,\n    \"model\": \"Apple Inc. MacBookPro14,3\",\n    \"name\": \"BOVD-dak\",\n    \"platform\": \"macOS\",\n    \"playing_page_id\": \"6194f7a2aa4a7e2f33449e38\",\n    \"playing_until\": 1637304730.7500002,\n    \"playlist_ids\": [\n        \"6194e811aa4a7e2f33449e2f\"\n    ],\n    \"region\": \"us\",\n    \"seen_from_date\": 1637303649,\n    \"serial_number\": \"HJJBDJ565as\",\n    \"tags\": [\n        \"mp4\"\n    ],\n    \"updated_at\": 1639474197.297\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "account_id": {
                      "type": "string",
                      "example": "5dba92731b5d034f7d8dcasas"
                    },
                    "api_enabled": {
                      "type": "string",
                      "example": "electron"
                    },
                    "connection_count": {
                      "type": "integer",
                      "example": 6,
                      "default": 0
                    },
                    "cpu_load_percent": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "created_at": {
                      "type": "number",
                      "example": 1637153557.1660001,
                      "default": 0
                    },
                    "id": {
                      "type": "string",
                      "example": "6194fb151b5d032f1312f7b9"
                    },
                    "last_online": {
                      "type": "integer",
                      "example": 1637304687,
                      "default": 0
                    },
                    "last_seen_date": {
                      "type": "number",
                      "example": 1637304687.374,
                      "default": 0
                    },
                    "last_seen_ip": {
                      "type": "string",
                      "example": "10.110.133.212"
                    },
                    "last_system_on": {
                      "type": "integer",
                      "example": 1637304687,
                      "default": 0
                    },
                    "locked": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    },
                    "memory_used_percent": {
                      "type": "integer",
                      "example": 99,
                      "default": 0
                    },
                    "model": {
                      "type": "string",
                      "example": "Apple Inc. MacBookPro14,3"
                    },
                    "name": {
                      "type": "string",
                      "example": "BOVD-dak"
                    },
                    "platform": {
                      "type": "string",
                      "example": "macOS"
                    },
                    "playing_page_id": {
                      "type": "string",
                      "example": "6194f7a2aa4a7e2f33449e38"
                    },
                    "playing_until": {
                      "type": "number",
                      "example": 1637304730.7500002,
                      "default": 0
                    },
                    "playlist_ids": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "6194e811aa4a7e2f33449e2f"
                      }
                    },
                    "region": {
                      "type": "string",
                      "example": "us"
                    },
                    "seen_from_date": {
                      "type": "integer",
                      "example": 1637303649,
                      "default": 0
                    },
                    "serial_number": {
                      "type": "string",
                      "example": "HJJBDJ565as"
                    },
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "mp4"
                      }
                    },
                    "updated_at": {
                      "type": "number",
                      "example": 1639474197.297,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```