Desktop Policies

Delete desktop policy

Changed on

Soft-deletes a custom desktop policy, disables it, and releases its stable externalKey for reuse. The default policy cannot be deleted (400 default_policy_required).

delete/v1/desktop-policies/{desktopPolicyId}

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/desktop-policies/{desktopPolicyId}
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

desktopPolicyIdstring typeid required

Den TypeID with 'dpo_' prefix and a 26-character base32 suffix.

Response

Desktop policy deleted successfully.

Changes

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      removed the pattern ^dpo_.* from the path request parameter desktopPolicyId