[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[[["\u003cp\u003eThis page details how to list non-deleted WorkforcePools, and optionally deleted pools, under a specified parent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses the \u003ccode\u003eGET\u003c/code\u003e method with a URL structure following gRPC Transcoding syntax, including a \u003ccode\u003elocation\u003c/code\u003e path parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey query parameters include \u003ccode\u003eparent\u003c/code\u003e (required), \u003ccode\u003epageSize\u003c/code\u003e for controlling the number of returned pools, \u003ccode\u003epageToken\u003c/code\u003e for pagination, and \u003ccode\u003eshowDeleted\u003c/code\u003e to include soft-deleted pools in the response.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the successful response includes an array of WorkforcePool objects and a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination if needed.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: locations.workforcePools.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListWorkforcePoolsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists all non-deleted [WorkforcePool](/iam/docs/reference/rest/v1/locations.workforcePools#WorkforcePool)s under the specified parent. If `showDeleted` is set to `true`, then deleted pools are also listed.\n\n### HTTP request\n\n`GET https://iam.googleapis.com/v1/{location=locations/*}/workforcePools`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for workforcePools.list.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/iam`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]