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
- 201
- 400
- 402
- 403
- 404
Created
Response Headers
Location
URL of the policy assignment, /v1/device/{deviceUid}/policy/{policyUid}.
Example:
https://api.signageos.io/v1/device/9c83b5e07ee0991dce1216e2ba0338d454f1da7d4f8440676/policy/7a4741c842c86c7221ac662899272f7467ecbf30fb8dea5bf1Bad request
Payment Required - Feature entitlement missing
Forbidden
Not Found