Update Template

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

Request Body
devicemgmtUpdateDeviceTemplateRequest of type(s) application/json
Required
{
    "imageDetails": [
        {
            "imageUrl": "string",
            "id": "string",
            "sourceType": "string"
        }
    ],
    "childTemplates": [
        "string"
    ],
    "settings": [
        {
            "category": "string",
            "finalSettings": {},
            "settings": {}
        }
    ],
    "systemProperties": [
        {
            "name": "string"
        }
    ],
    "allowedMetrics": [
        {
            "timeInterval": "string",
            "displayUnit": "string",
            "displayName": "string",
            "name": "string",
            "valueType": "string",
            "factor": "number",
            "batchSize": "string"
        }
    ],
    "enrollmentProvider": {
        "providerConfig": "string",
        "type": "string"
    },
    "allowedCommands": [
        {
            "name": "string",
            "clientId": "string",
            "command": "string",
            "asRoot": false,
            "execPath": "string",
            "arguments": [
                {
                    "type": "string",
                    "name": "string",
                    "value": [
                        "string"
                    ]
                }
            ]
        }
    ],
    "customProperties": [
        {
            "name": "string",
            "value": "string"
        }
    ],
    "id": "string"
}
imageDetails
Optional

imageDetails

array of string
childTemplates
Optional

childTemplates

settings
Optional

settings

systemProperties
Optional

systemProperties

allowedMetrics
Optional

allowedMetrics

enrollmentProvider
Optional

enrollmentProvider

allowedCommands
Optional

allowedCommands

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