Skip to main content
Skip table of contents

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

dirId

String

yes

Directory 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 directory.

}

 

JavaScript errors detected

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

If this problem persists, please contact our support.