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
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

desktopPolicyId, string 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