{"_id":"58aad9de8f862f250076fa37","project":"54aa7f773b56130b0056c86e","category":{"_id":"58aad9dd8f862f250076f9f6","version":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-11-17T23:47:10.058Z","from_sync":false,"order":2,"slug":"pulsate-cms-api","title":"Pulsate CMS API"},"version":{"_id":"58aad9dd8f862f250076f9f4","project":"54aa7f773b56130b0056c86e","__v":2,"createdAt":"2017-02-20T11:58:21.765Z","releaseDate":"2017-02-20T11:58:21.765Z","categories":["58aad9dd8f862f250076f9f5","58aad9dd8f862f250076f9f6","58aad9dd8f862f250076f9f7","58aad9dd8f862f250076f9f8","58aad9dd8f862f250076f9f9","58aad9dd8f862f250076f9fa","58aad9dd8f862f250076f9fb","58ac26b3d460ce2500185d26"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"Locate","version_clean":"6.0.0","version":"6.0"},"__v":0,"parentDoc":null,"user":"577cf7765fd4de0e00cc3d50","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-08-05T16:34:09.458Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"564bbbf80cbcc91700b8171c","examples":{"codes":[{"language":"curl","code":"curl -X PUT \"https://control.pulsatehq.com/api/v1/apps/$APP_ID/beacons/$ID\" \\\n-H \"Authorization: Token token=$MY_ADMIN_API_TOKEN\" \\\n-d '{\n    \"beacon\": {\n        \"beacon_id\": \"new_beacon_id_3\",\n        \"nickname\": \"new_beacon_nickname_3\",\n        \"uuid\": \"99999999-8888-9999-1111-999999999993\",\n        \"major\": 777,\n        \"minor\": 333\n    }\n}'"}]},"method":"put","results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n  \"battery\": \"Check\",\n  \"beacon_id\": \"new_beacon_id_3\",\n  \"major\": 777,\n  \"minor\": 333,\n  \"nickname\": \"new_beacon_nickname_3\",\n  \"uuid\": \"99999999-8888-9999-1111-999999999993\",\n  \"id\": \"58776caa636f6e63bd410400\",\n  \"beacon_events_count\": 0\n}"}]},"auth":"required","params":[{"_id":"57ff8439e7218a1900673d0e","ref":"","in":"path","required":true,"desc":"","default":"","type":"string","name":"app_id"},{"_id":"57a4c2c67523720e00b4aa57","ref":"","in":"path","required":true,"desc":"Beacon Id","default":"","type":"string","name":"beacon_id"},{"_id":"58776f00511a4e2500f91c73","ref":"","in":"body","required":true,"desc":"Beacon to be updated","default":"","type":"object","name":"beacon"},{"_id":"58776f00511a4e2500f91c72","ref":"","in":"body","required":false,"desc":"Beacon beacon_id","default":"","type":"string","name":"beacon.beacon_id"},{"_id":"57a4c2711c5d931900eb2a37","ref":"","in":"body","required":false,"desc":"Beacon nikcname","default":"","type":"string","name":"beacon.nickname"},{"_id":"57a4c2711c5d931900eb2a36","ref":"","in":"body","required":false,"desc":"Beacon UUID","default":"","type":"string","name":"beacon.uuid"},{"_id":"57a4c2711c5d931900eb2a35","ref":"","in":"body","required":false,"desc":"Beacon major","default":"","type":"int","name":"beacon.major"},{"_id":"57a4c2711c5d931900eb2a34","ref":"","in":"body","required":false,"desc":"Beacon minor","default":"","type":"int","name":"beacon.minor"}],"url":"/apps/:app_id/beacons/:id"},"isReference":true,"order":33,"body":"","excerpt":"","slug":"beacons-update","type":"endpoint","title":"Beacons: Update"}

putBeacons: Update


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

app_id:
required
string
beacon_id:
required
string
Beacon Id

Body Params

beacon:
required
object
Beacon to be updated
beacon.beacon_id:
string
Beacon beacon_id
beacon.nickname:
string
Beacon nikcname
beacon.uuid:
string
Beacon UUID
beacon.major:
integer
Beacon major
beacon.minor:
integer
Beacon minor

Examples


Result Format


User Information

Try It Out

put
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}