Update Device Firmware

Update Device Firmware

PUT /firmware/{acc}/{deviceId}

This endpoint allows a user to get the reported firmware from the device management server for a particular device.

Request Components

HTTP Request

PUT https://thingspace.verizon.com/api/fota/v3/firmware/{acc}/{deviceId}

Resource Path and Query Parameters

Parameter Name Data Type Description
acc
required
string Account identifier.
deviceId
required
string The identifier of the device being updated

Header Parameters

The request header must contain a current ThingSpace authorization token and a current VZ-M2M-session token.

Parameter Name Data Type Description
Authorization
required
string HTTP Authorization request header containing a valid Bearer token.
VZ-M2M-Token
required
string A valid session token returned by a Connectivity Management POST /session/login request.

Request Body

None

Example Request

Request a list of available software for your account.

curl https://thingspace.verizon.com/api/fota/v3/firmware//{account identifier}/{device identifier}  -H 'Authorization: Bearer $AUTH_TOKEN' -H 'VZ-M2M-Token: $M2M_TOKEN'

Success Responses

Status 200

Parameter Name Data Type Description
accountName string The account identifier.
deviceId string The device identifier.
firmwareVersion string The numeric or alpha-numeric identifier of the firmware and its version.

 

Example Success Response

An array showing the Account ID, the Device ID and the Firmware that the device has been updated to.

{
  "accountName": "string",
  "deviceId": "string",
  "firmwareVersion": "string"
}

Failure Responses

Status 400

All error messages are returned in this format:

 {
   "errorCode": "error code string",
   "errorMessage": "error message string"
}

Error codes and messages are listed on the Error Messages page, along with explanations and suggestions for corrective actions.