Skip to content

Modify Device Password

Changes the access password of a device. The device must be online, and the server waits for device confirmation before returning the result.

Endpoint

http
PUT /wlte/v1/devices/{deviceId}/password

Authorization Requirements

ScopeRequiredDescription
device:manageYesModify a device password

Request Parameters

FieldTypeRequiredDescription
oldPasswordstringYesCurrent device password. Must be 4 characters
newPasswordstringYesNew device password. Must be 4 characters

Request Example

json
{
  "oldPassword": "1234",
  "newPassword": "5678"
}

curl example:

bash
curl --request PUT '{baseUrl}/wlte/v1/devices/{deviceId}/password' \
  --header 'Authorization: Bearer {accessToken}' \
  --header 'Content-Type: application/json' \
  --header 'Accept: application/json' \
  --data '{
    "oldPassword": "1234",
    "newPassword": "5678"
  }'

Response Example

json
{
  "code": "SUCCESS",
  "message": "OK.",
  "requestId": "7d2e2e30-36d7-4e31-9e89-c840f54185f8",
  "data": {
    "deviceId": "rek083895063",
    "updated": true
  }
}

Common Errors

HTTP StatuscodeDescription
400INVALID_REQUESTMissing parameters, or password is not 4 characters
403AUTH_SCOPE_DENIEDThe API Key does not have the device:manage permission
404DEVICE_NOT_FOUNDThe device does not exist, or this API Key cannot access it
409DEVICE_OFFLINEThe device is offline, so the result cannot be confirmed
429RATE_LIMITEDToo many requests. Wait and retry
504DEVICE_TIMEOUTThe device did not confirm the update within the wait time

The response never includes the old or new password.

Docs buildVersion v1.5.9-20260827-140125-85
Copyright © 2026 WLTE