メインコンテンツまでスキップ

エンタープライズのグループに所属するメンバーの一覧を取得する

GET https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users

エンタープライズのグループに所属しているユーザー情報一覧を取得します。


Path Params

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueエンタープライズ名
ORGANIZATION_NAMEstringtrueグループ名

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}"
}
]
}