--- title: "listGroups" slug: "pub-resource-manager-v2-group-listgroups" updated: 2026-11-24T09:24:28Z published: 2026-11-24T09:24:28Z canonical: "api.ncloud-docs.com/pub-resource-manager-v2-group-listgroups" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # listGroups Classic/VPC 환경에서 이용 가능합니다. 리소스 그룹 목록 조회. 그룹 이름으로 필터링 가능 ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /groups | ### 요청 헤더 Resource Manager API에서 공통으로 사용하는 헤더에 대한 정보는 [Resource Manager 요청 헤더](/docs/pub-resource-manager-v2-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `groupName` | String | Optional | 필터링할 그룹 이름. 와일드카드 사용시 전방 / 후방 / 부분 일치 검색 지원. - 길이: 1 ~ | | `pageNo` | Integer (int32) | Optional | 페이지 번호(0부터 시작) - 범위: 0 ~ - 기본값: 0 | | `pageSize` | Integer (int32) | Optional | 페이지 크기 - 범위: 1 ~ 1,000 - 기본값: 20 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://resourcemanager.beta-apigw.ntruss.com/api/v2/groups' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `pageNo` | Integer (int32) | - | 현재 페이지 번호(0부터 시작) - 범위: 0 ~ - <예시> 0 | | `pageSize` | Integer (int32) | - | 현재 페이지 크기 - 범위: 1 ~ - <예시> 20 | | `totalElements` | Integer (int64) | - | 전체 항목 수 - 범위: 0 ~ - <예시> 100 | | `totalPages` | Integer (int32) | - | 전체 페이지 수 - 범위: 0 ~ - <예시> 5 | | `groups` | List<[OpenApiV2GroupDto](/docs/pub-resource-manager-v2-group-listgroups#OpenApiV2GroupDto)> | - | 리소스 그룹 목록 - 항목 수: 0 ~ 1,000 | #### OpenApiV2GroupDto 리소스 그룹 정보 | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `groupId` | String (uuid) | - | 그룹 ID(UUID) - <예시> 550e8400-e29b-41d4-a716-446655440000 | | `groupName` | String | - | 그룹 이름 - <예시> my-group | | `groupDescription` | String | - | 그룹 설명 - <예시> My group description | | `createdDateTime` | String (date-time) | - | 그룹 생성 일시. 그룹 목록은 이 값 기준 내림차순으로 정렬 - <예시> 2020-04-06T14:30:00+09:00 | | `updatedDateTime` | String (date-time) | - | 그룹 마지막 수정 일시 - <예시> 2020-05-06T14:30:00+09:00 | ### 응답 상태 코드 Resource Manager API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Resource Manager 응답 상태 코드](/docs/pub-resource-manager-v2-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "pageNo": 0, "pageSize": 20, "totalElements": 100, "totalPages": 5, "groups": [ { "groupId": "550e8400-e29b-41d4-a716-446655440000", "groupName": "my-group", "groupDescription": "My group description", "createdDateTime": "2020-04-06T14:30:00+09:00", "updatedDateTime": "2020-05-06T14:30:00+09:00" } ] } ```