Desktop Policies

Apply desktop-policies by stable key

Changed on

Creates 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 URL
    https://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, DenDesktopPolicyDocumentWrite required
priority, integer
isEnabled, boolean
memberIds, string[]
teamIds, string[]
roles, string[]

Response

The existing resource was replaced.

DesktopPolicyResponse 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

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400