Assign Policy to Device
POST/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. |
Request
Responses
- 200
OK
Response Headers
Content-Type