Skip to main content
Skip table of contents

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

tcId

String

yes

Device ID

templateId

String

yes

Template key ID

valueId

String

yes

Template value ID

Response Type

Returns a success message.

Example Response

{

"message": Template value successfully assigned to device.

}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.