Desktop Policies

Create desktop policy

Changed on

Creates 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 URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

object required
policyName, string required
policy, DenDesktopPolicyDocumentWrite required
priority, integer
isEnabled, boolean
memberIds, string[]
teamIds, string[]
roles, string[]

Response

Desktop policy created successfully.

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