---
title: Delete existing Device Posture policy
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/device-posture/delete-existing-device-posture-policy/
product: CloudConnexa Docs
---

# Delete existing Device Posture policy

`DELETE /api/beta/device-postures/{id}`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| id | path | string | true | id |

## Responses

| Status | Meaning | Description | Schema |
| --- | --- | --- | --- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | None |
| 204 | [No Content](https://tools.ietf.org/html/rfc7231#section-6.3.5) | No content | None |
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | None |
| 401 | [Unauthorized](https://tools.ietf.org/html/rfc7235#section-3.1) | Unauthorized | None |
| 403 | [Forbidden](https://tools.ietf.org/html/rfc7231#section-6.5.3) | Access Forbidden | None |
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | None |
| 406 | [Not Acceptable](https://tools.ietf.org/html/rfc7231#section-6.5.6) | Not Acceptable | None |
| 429 | [Too Many Requests](https://tools.ietf.org/html/rfc6585#section-4) | Too Many Requests | None |
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | None |

To perform this operation, you must be authenticated by means of one of the following methods: OAuth\_authorization

```json
{
  "description": "string",
  "id": "string",
  "macos": {
    "antiviruses": [
      "AVAST"
    ],
    "certificateAdded": true,
    "diskEncrypted": true,
    "version": {
      "condition": "EQUAL",
      "version": "string"
    }
  },
  "name": "string",
  "userGroupsIds": [
    "string"
  ],
  "windows": {
    "antiviruses": [
      "AVAST"
    ],
    "certificateAdded": true,
    "diskEncryption": {
      "type": "FULL_DISK",
      "volume": "string"
    },
    "version": {
      "condition": "EQUAL",
      "version": "string"
    }
  }
}
```

---

Prev: [Update existing Device Posture policy](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/device-posture/update-existing-device-posture-policy.md)
Next: [DNS Logs](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/dns-logs.md)
Index: https://openvpn.net/cloud-docs/llms.txt
