Skip to main content

List Members of Organization in Enterprise

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

Get member list of the organization in your Enterprise.


Path Params

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueName of Enterprise
ORGANIZATION_NAMEstringtrueOrganization Name

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