Assign Policy to Device
POST {{baseUrl}}/v1/device/:deviceUid/policy
Assign policy to device by deviceUid
and policyUid
.
Parameters
Field | Type | Required | Description |
---|---|---|---|
deviceUid | string | Required | Unique Device Identification |
Body
Field | Type | Required | Description |
---|---|---|---|
uid | string | Required | Uid of Policy to be assigned to the Device |
priority | number | Required | Priority of the policy regarding the Device. Higher the number higher the priority. If multiple policies assigned conflicting policy item will be set by the Policy with higher priority. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-auth | string | Authorization key and token | |
Content-Type | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{}