For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
GuidesWhite-labelAPI Reference
GuidesWhite-labelAPI Reference
  • Panic API Reference
      • POSTLink a device to a customer
      • PUTUpdate a linked device
      • DELUnlink a device
      • POSTSend a device event
    • Errors & status codes
LogoLogo
Panic API ReferenceIoT Devices

Update a linked device

PUT
/panic-api/v2/devices
PUT
/panic-api/v2/devices
$curl -X PUT https://staging-panic.aura.services/panic-api/v2/devices \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json" \
> -d '{
> "customerId": 178921,
> "deviceId": "panic-button-001"
>}'
1{
2 "id": 501,
3 "customerId": 178921,
4 "deviceId": "panic-button-001"
5}
Updates an existing device link, such as its type or alias.
Was this page helpful?
Previous

Unlink a device

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
customerIdintegerRequired
deviceIdstringRequired
deviceTypeIdintegerOptional

Response

Device updated.
idinteger
customerIdinteger
deviceIdstring

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error