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
  • URL: https://api.openworklabs.com/v1/desktop-policies
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

policyNamestring required
priorityinteger
isEnabledboolean
memberIdsstring[]
teamIdsstring[]
rolesstring[]

Response

Desktop policy created successfully.

desktopPolicyobject required

Changes

    • info

      added the optional property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API