---
title: Remove destination from an existing access group
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/access-group/remove-destination-from-an-existing-access-group/
product: CloudConnexa Docs
---

# Remove destination from an existing access group

`DELETE /api/beta/access-groups/{id}/destination`

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| childId | query | string | false | Child ID of the destination for deletion |
| id | path | string | true | id |
| parentId | query | string | false | Parent ID of the destination for deletion |
| type | query | string | true | Type of the destination for deletion |

### Enumerated Values

| Parameter | Value |
| --- | --- |
| type | HOST\_SERVICE |
| type | NETWORK\_SERVICE |
| type | PUBLISHED\_SERVICE |
| type | USER\_GROUP |

## Responses

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

```json
{
  "defaultGroup": true,
  "description": "string",
  "destination": [
    {
      "allCovered": true,
      "children": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "parent": {
        "id": "string",
        "name": "string"
      },
      "type": "HOST_SERVICE"
    }
  ],
  "id": "string",
  "name": "string",
  "source": [
    {
      "allCovered": true,
      "children": [
        {
          "id": "string",
          "name": "string"
        }
      ],
      "parent": {
        "id": "string",
        "name": "string"
      },
      "type": "HOST"
    }
  ]
}
```

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

---

Prev: [Get existing access groups](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/access-group/get-existing-access-groups.md)
Next: [Application](https://openvpn.net/cloud-docs/developer/cloudconnexa-beta-api-v0-16-0/application.md)
Index: https://openvpn.net/cloud-docs/llms.txt
