[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api

Update Subnet Mapping

Description

Update an existing subnet mapping (VLAN ID for the given CIDR).

Request

Request

URL

URL


put
https://vrni.example.com/api/ni/settings/subnet-mappings/{id}
Copy

Path Parameters

Path Parameters

string
id Required

The Entity ID of object requestion information on


Request Body

Request Body

SubnetMappingRequest of type(s) application/json Required
{
	"cidr": "string",
	"vlan_id": 0
}
string
cidr Optional

integer as int32
vlan_id Optional
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns SubnetMapping of type(s) application/json
This response body class contains all of the following: BaseEntity, InlineSubnetMapping1
Errors

Errors

ApiError
400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Error

Code Samples

Code Samples

cURL Command

curl -X PUT -H "Content-Type: application/json" -d '{"cidr":"string","vlan_id":0}' https://vrni.example.com/api/ni/settings/subnet-mappings/{id}


[{"label":"Latest (6.4.0)","version":"latest"}]
vrealize-network-insight-api
Settings Operations
Feedback

Was this page helpful?