Get LAN Segment (v2.0)
GEThttps://api.us.cloudgenix.com/v2.0/api/tenants/:tenant_id/networkcontexts/:network_context_id
List a specific LAN segment.
Request
Path Parameters
tenant_id stringrequired
The ID of the tenant.
network_context_id stringrequired
The ID of the network context.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (auto)
Schema
description
The description of the LAN segment. Maz size = 256.
idstring
The ID of the LAN segment.
namestring
The name of the LAN segment. Max size = 128.
{
"id": "string",
"name": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
- Example
Schema
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_LAN_SEGMENTID"
}
]
}
}
- curl
- python
- go
- nodejs
- csharp
- php
- CURL
curl -L 'https://api.us.cloudgenix.com/v2.0/api/tenants/:tenant_id/networkcontexts/:network_context_id' \
-H 'Accept: application/json'
ResponseClear