Retrieve Subnet
Retrieve a specific Subnet
Org must have a Tenant entity. User must have FORGE_TENANT_ADMIN role.
Authentication
AuthorizationBearer
```
export JWT_BEARER_TOKEN="<jwt-bearer-token>"
# Example org name: "acme-inc
export ORG_NAME=<org-name>
# Use the JWT bearer token in your API request auth header:
curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://carbide-rest-api.carbide.svc.cluster.local/v2/org/$ORG_NAME/carbide/user/current
```
Path parameters
org
subnetId
Query parameters
includeRelation
Related entity to expand
Allowed values:
Response
OK
id
name
description
siteId
vpcId
tenantId
controllerNetworkSegmentId
ipv4Prefix
The prefix that gets assigned to the subnet if ipv4 block is chosen
ipv4BlockId
ipv4Gateway
ipv6Prefix
ipv6BlockId
ipv6Gateway
mtu
Maximum Transmission Unit size in bytes. This property is system-determined and read-only.
prefixLength
Max value depends on prefix length of parent IP Block
routingType
Allowed values:
status
Status values for Subnet objects
Allowed values:
statusHistory
created
updated
deprecations
Errors
403
Forbidden Error