PUT /v3/template/assign/tc
Summary
Assigns a template key and value to a device.
Resource URL
/v3/template/assign/tc
Example Request
curl \
--request PUT \
--header “Content-type“: application/json
{
"tcId": 2650,
"template":
[
{ "templateId": 2637,
"valueId": 2638
}
]
}
https://[server]:8443/umsapi/v3/template/assign/tc
Request Body
Name | Type | Mandatory | Description |
| String | yes | Device ID |
| String | yes | Template key ID |
| String | yes | Template value ID |
Response Type
Returns a success message.
Example Response
{
"message": Template value successfully assigned to device.
}