---
title: "GCP Projects"
method: GET
path: "/api/v2/Configs/GcpProjects"
tags: ["Configs"]
---

# GCP Projects

`GET /api/v2/Configs/GcpProjects`

Get a list of GCP project IDs for an entire account or for a specific organization. 

 To list all GCP project IDs for an account, invoke the following endpoint: 

  > `GET https://YourAccount.lacework.net/api/v2/Configs/GcpProjects` 

 To get a list of GCP project IDs for a specific organization, pass the organization ID as a parameter to the endpoint: 

  > `GET https://YourAccount.lacework.net/api/v2/Configs/GcpProjects?orgId={orgId}`

## Query parameters

- `orgId` string

## Headers

- `Authorization` string, required
- `Content-Type` string, required

## Response `200`

No Error (List of GCP Projects)

- object
  - `data` ConfigsGcpProjectsResponseSchema[]
    - `organization` string — The GCP organization.
    - `projects` string[] — The GCP projects.

## Other responses

- `204` — No Data
- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/revisions/7015f76895f2/schema)
