get
/v1/subnetsList subnets
List all subnets in the current project
Query Parameters
limit
integeroptionalquery
Maximum number of items to return
Default: 20
Example: 20
marker
string<uuid>optionalquery
ID of the last item from the previous page (for pagination)
Example: "550e8400-e29b-41d4-a716-446655440000"
name
stringoptionalquery
Filter by name (exact match or prefix with *)
Example: "web-*"
tags
stringoptionalquery
Filter by tags (comma-separated)
Example: "web,production"
network_id
string<uuid>optionalquery
Filter by network ID
ip_version
integeroptionalquery
Filter by IP version
Enum: 4, 6
cidr
stringoptionalquery
Filter by CIDR
Responses
200
List of subnets
Content-Type: application/json
subnets
arrayoptionalmeta
objectoptionallinks
objectoptional401
Authentication required or token invalid
Content-Type: application/json
error
objectrequired500
Internal server error
Content-Type: application/json
error
objectrequiredcurl -X GET "https://api.spo1.mycloud.com/v1/subnets" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json"