PUT /v3/template/assign/dir
Summary
Assigns a template key and value to a device directory.
Resource URL
/v3/template/assign/dir
Example Request
curl \
--request PUT \
--header “Content-type“: application/json
{"dirId": 954,"template":[{ "templateId": 2637,"valueId": 2638}]}
https://[server]:8443/umsapi/v3/template/assign/dir
Request Body
Name | Type | Mandatory | Description |
| String | yes | Directory 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 directory.
}