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
Name | Type | Required | Description |
---|---|---|---|
ENTERPRISE_NAME | string | true | Name of Enterprise |
ORGANIZATION_NAME | string | true | Organization 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}"
}
]
}