Update Template

Update Template
Request
URI
PUT
https://{api_host}/api/device-templates/{id}
COPY

Request Body
devicemgmtUpdateDeviceTemplateRequest of type(s) application/json
Required
"devicemgmtUpdateDeviceTemplateRequest Object"
array of object
imageDetails
Optional

imageDetails

array of string
childTemplates
Optional

childTemplates

array of object
settings
Optional

settings

array of object
systemProperties
Optional

systemProperties

array of object
allowedMetrics
Optional

allowedMetrics

object
enrollmentProvider
Optional

enrollmentProvider

array of object
allowedCommands
Optional

allowedCommands

array of object
customProperties
Optional

customProperties

string
id
Optional

id

Responses
200
Returns devicemgmtDeviceTemplateId of type(s) */*
{
    "id": "string"
}
string
id
Optional

id


404

Not Found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/device-templates/{id}