Account Device Line
Update device
Use to update a device line, while supplying only the fields you wish to change.
patch/v2/partition/{partitionId}/account/{accountId}/deviceline/{deviceId}
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
ID of account, refers to <a href="#/~schema/Account">account.id</a>
deviceIdstring required
ID of device line, reference to <a href="#/~schema/DeviceX">device.id</a>.
partitionIdstring required
ID of partition, refers to <a href="#/~schema/PartitionX">partition.id</a>
Request body
object required
Json containing the fragment of the account object to be updated.
Example request
{
"deviceName": "newDeviceName"
}Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.