---
title: Set subnet
canonical: https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/settings/set-subnet/
product: CloudConnexa Docs
---

# Set subnet

`PUT /api/v1/settings/wpc/subnet`

## Body parameter

```json
{
  "ipV4Address": [
    "string"
  ],
  "ipV6Address": [
    "string"
  ]
}
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| body | body | [Subnet](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/subnet.md) | true | none |
| » ipV4Address | body | \[string\] | false | none |
| » ipV6Address | body | \[string\] | false | none |

## Responses

| Status | Meaning | Description | Schema |
| --- | --- | --- | --- |
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [Subnet](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/schemas/subnet.md) |

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

---

Prev: [Get subnet](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/settings/get-subnet.md)
Next: [Get SNAT](https://openvpn.net/cloud-docs/developer/cloudconnexa-api-v1-0/settings/get-snat.md)
Index: https://openvpn.net/cloud-docs/llms.txt
