| Name | Description | 
|---|---|
| data[type] | Resource type (sensors) | 
| data[id] | Sensor ID | 
| data[attributes][name] | Name | 
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxMywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc0MDg1MzA0MX0.3c_icuCnYsWuHdCh2QyPMqJ-gbkAmQ6Enx9zsx_AnO8 Host: example.org Cookie:
PUT /api/rest/admin/sensors/5
{"data":{"type":"sensors","id":5,"attributes":{"name":"name"}}}
            X-Frame-Options: SAMEORIGIN X-XSS-Protection: 0 X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: strict-origin-when-cross-origin Content-Type: application/vnd.api+json Vary: Accept ETag: W/"a170b63d4a44eb10cef288196c4346d4" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 4415d5ac-b60a-40da-8afa-ebc614ed0f7f X-Runtime: 0.026189 Content-Length: 254
200 OK
{
  "data": {
    "id": "5",
    "type": "sensors",
    "links": {
      "self": "http://example.org/api/rest/admin/sensors/5"
    },
    "attributes": {
      "name": "name",
      "mode-id": 1,
      "source-interface": null,
      "target-mac": null,
      "use-routing": false,
      "target-ip": "192.168.0.2",
      "source-ip": "192.168.0.1"
    }
  }
}