Edit IPAM Subnet (editIPAMSubnet)
(Nectus Version: 1.69.0)
editIPAMSubnet is used to modify the attributes of an existing IPAM Subnet.
URL
https://{ServerName}/ipam/restAPI/editIPAMSubnet
ServerName is the FQDN of the server where Nectus is deployed.
Method
PUT
Request Parameters
Header
Header should contain an authorization token.
| Parameter | Description | Type | Required | Default Value |
|---|---|---|---|---|
| token | Authorization token | 1 | 1 |
Payload/Data Parameters
| Parameter | Description | Type | Required | Default Value |
|---|---|---|---|---|
| id | ID of subnet, which we editing | Integer | Mandatory | |
| vrf | IPAM VRF | String | Optional | |
| type | Type. Possible values: static or dhcp | String | Optional | |
| name | Name | String | Optional | |
| container_path | Container | String | Optional | |
| status | Status. Possible values: '', 'available', ''in-use", "reserved" | String | Optional | |
| profile | Subnet Profile | String | Optional | |
| customer | Customer | String | Optional | |
| device_a | Hosting Network Device A | String | Optional | |
| device_b | Hosting Network Device B | String | Optional | |
| vlan | VLAN | Integer | Optional | |
| pci | PCI. Possible values: 'yes', 'no' | String | Optional | |
| gateway | Default Gateway | String | Optional | |
| change_request_id | Change Request ID | String | Optional | |
| description | Description | String | Optional |
Response Parameters
For list of common errors, kindly refer to section Response and Error Codes.