エンタープライズのグループに所属するメンバーの一覧を取得する
GET https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users
エンタープライズのグループに所属しているユーザー情報一覧を取得します。
Path Params
Name | Type | Required | Description |
---|---|---|---|
ENTERPRISE_NAME | string | true | エンタープライズ名 |
ORGANIZATION_NAME | string | true | グループ名 |
Example
curl \
-X GET \
--url "https://deploygate.com/api/enterprises/${ENTERPRISE_NAME}/organizations/${ORGANIZATION_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"users": [
{
"type": "User",
"name": "${USERNAME}",
"icon_url": "https://example.com/path/to/user/icon.png",
"url": "https://deploygate.com/users/${$USERNAME}"
}
]
}