Sections ▾

PATCH ​/api​/beacons​/:id

Update Beacon. The name should be url encoded if necessary.

Request

Example Request

{
  "beacon": {
    "name": "Register",
    "uuid": "AD0A19FF-72AF-4377-8C66-C93604EDAB9E",
    "major": 82,
    "minor": 95,
    "tags": [
      "foo"
    ]
  }
}

Example Parameters

Response

Example Response

{
  "id": 42,
  "name": "Register",
  "uuid": "AD0A19FF-72AF-4377-8C66-C93604EDAB9E",
  "major": 82,
  "minor": 95,
  "tags": [
    "office"
  ],
  "tag_string": "tag1,tag2,tag3"
}

Response Parameters

Response Codes

Successful Response Codes

Failure Response Codes