Desktop Policies
Create desktop policy
Changed onCreates a desktop policy from a policy document plus optional priority, enabled flag, and assignments to members, teams, or roles (owner, admin, member). Requires the Enterprise plan; referenced members and teams must belong to the organization.
post/v1/desktop-policies
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
object required
policyName, string required
policy, Den Desktop Policy Document Write required
priority, integer
isEnabled, boolean
memberIds, string[]
teamIds, string[]
roles, string[]
Response
Desktop policy created successfully.
Desktop Policy Response required
desktopPolicy, object required
Changes
- info
added the new optional request property
policy/access/capabilities/allowLocalModels - info
added the new optional request property
policy/allowLocalModels
- info
- info
response property
details/items/path/items/list-of-types was narrowed by removing typesnumberfrom media typeapplication/jsonof response400
- info