List Members of Team
GET
https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/teams/{TEAM_NAME}/users
Get list of members of team in the Organization.
Path Params
Name | Type | Required | Description |
---|---|---|---|
ORGANIZATION_NAME | string | true | Organization Name |
TEAM_NAME | string | true | Name of team |
Example
curl \
-X GET \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/teams/${TEAM_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"
Result 200
{
"error": false,
"users": [
{
"type": "User",
"name": "${USER_NAME}",
"display_name": "${USER_DISPLAY_NAME}",
"icon_url": "https://secure.gravatar.com/avatar/${USER_NAME}",
"url": "https://deploygate.com/users/${USER_NAME}"
},
{
"type": "User",
"name": "${EMAIL}",
"display_name": null,
"icon_url": "https://secure.gravatar.com/avatar/default",
"inviting": true,
"url": "https://deploygate.com/users/${EMAIL}"
}
]
}