Available in Classic and VPC
Get accounts affiliated with an organization by group.
Request
This section describes the request format. The method and URI are as follows:
Method | URI |
---|---|
GET | /open-api/v1/account/group/{organizationGroupNo} |
Request headers
For information about the headers common to all Organization APIs, see Organization request headers.
Request path parameters
You can use the following path parameters with your request:
Field | Type | Required | Description |
---|---|---|---|
organizationGroupNo |
Integer | Required | Account group number |
Request example
The request example is as follows:
curl --location --request GET 'https://organization.apigw.ntruss.com/open-api/v1/account/group/****' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \
--header 'Accept: application/json'
Response
This section describes the response format.
Response body
The response body includes the following data:
Field | Type | Required | Description |
---|---|---|---|
memberNo |
Integer | - | Account member ID |
organizationNo |
Integer | - | Organization number |
organizationGroupNo |
Integer | - | Account group number |
masterMemberNo |
Integer | - | Master account member ID |
masterMemberYn |
String | - | Whether it is a master account
|
loginId |
String | - | Account login ID |
memberName |
String | - | Account username |
memberAlias |
String | - | Member account alias
|
memberStatusCode |
String | - | Account status code |
memberStatusName |
String | - | Account status |
Response status codes
For response status codes common to all Organization APIs, see Organization response status codes.
Response example
The response example is as follows:
[
{
"memberNo": 270****,
"organizationNo": 2712,
"organizationGroupNo": 1449,
"masterMemberNo": 279****,
"masterMemberYn": "N",
"loginId": "l******@navercorp.com",
"memberName": "Cheolsu Kim",
"memberAlias": "-",
"memberStatusCode": "INVT",
"memberStatusName": "Invitation being accepted"
},
{
"memberNo": 279****,
"organizationNo": 2712,
"organizationGroupNo": 1449,
"masterMemberNo": 279****,
"masterMemberYn": "Y",
"loginId": "n******@navercorp.com",
"memberName": "Gildong Hong",
"memberStatusCode": "JOIN",
"memberStatusName": "Signup completed"
}
]