Desktop Policies
Apply desktop-policies by stable key
Changed onCreates or replaces an organization-scoped resource. Names do not identify resources; existing unkeyed resources are never adopted automatically. Assignments are replaced. Omitted write-only secrets are preserved. Concurrent writes are last-write-wins; conditional headers are not supported on this route.
put/v1/desktop-policies/by-key/{externalKey}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
externalKey, string required
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
The existing resource was replaced.
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