Create a new restriction
POST/api/v1/device/restrictions
Creates a new restriction (device/os-associated rule) in the discovery service
Request
- application/json
Body
required
name stringrequired
Restriction name
description string
Restriction description
association
object
deviceTypeNames string[]
Device type names for restrictions
osTypes string[]
OS types for restrictions
deviceIds string[]
Specific device IDs for restrictions
isActive boolean
Default value: true
Whether the restriction is active
rule objectrequired
Rule engine compliant rule object
Responses
- 201
Restriction created successfully
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Loading...