List VPC subnets

Get information about all VPC Subnets associated with a VPC.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.
    • Permissions: view_vpc_subnets

CLI

linode-cli vpcs subnets-list $vpcId

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The id of the VPC.

Query Params
integer
≥ 1
Defaults to 1

The page of a collection to return.

integer
25 to 500
Defaults to 100

The number of items to return per page.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json