---
title: "List the Member Resources of a VPC"
method: GET
path: "/v2/vpcs/{vpc_id}/members"
tags: ["DigitalOcean-public.v2-new_VPCs"]
---

# List the Member Resources of a VPC

`GET /v2/vpcs/{vpc_id}/members`

To list all of the resources that are members of a VPC, send a GET request to
`/v2/vpcs/$VPC_ID/members`.

To only list resources of a specific type that are members of the VPC,
included a `resource_type` query parameter. For example, to only list Droplets
in the VPC, send a GET request to `/v2/vpcs/$VPC_ID/members?resource_type=droplet`.

Only resources that you are authorized to see will be returned (e.g. to see Droplets,
you must have `droplet:read`).

## Path parameters

- `vpc_id` string, uuid, required

## Query parameters

- `resource_type` string
- `per_page` integer
- `page` integer

## Response `200`

The response will be a JSON object with a key called members. This will be set
to an array of objects, each of which will contain the standard attributes
associated with a VPC member.

Only resources that you are authorized to see will be returned (e.g. to see Droplets,
you must have `droplet:read`).

- object
  - `members` VpcMember[]
    - `name` string — The name of the resource.
    - `urn` string — The uniform resource name (URN) for the resource in the format do:resource_type:resource_id.
    - `created_at` string — A time value given in ISO8601 combined date and time format that represents when the resource was created.
  - `links` PageLinks
    - `pages` union
      - ForwardLinks
        - `last` string — URI of the last page of the results.
        - `next` string — URI of the next page of the results.
      - BackwardLinks
        - `first` string — URI of the first page of the results.
        - `prev` string — URI of the previous page of the results.
      - unknown
  - `meta` object, required — Information about the response itself.
    - `total` integer, required — Number of objects returned by the request.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `404` — The resource was not found.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
