Get group members by organization and group name
GET
CoderSessionTokenheader
Coder-Session-Token<token>organization*stringOrganization ID
Format
uuidgroupName*stringGroup name
q?stringMember search query
after_id?stringAfter ID
Format
uuidlimit?integerPage limit
offset?integerPage offset
OK
application/json- response
count?integerusers?array<>The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/organizations/{organization}/groups/{groupName}/members" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "count": 0, "users": [ { "avatar_url": "http://example.com", "created_at": "2019-08-24T14:15:22Z", "email": "[email protected]", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "is_service_account": true, "last_seen_at": "2019-08-24T14:15:22Z", "login_type": "", "name": "string", "status": "active", "theme_preference": "string", "updated_at": "2019-08-24T14:15:22Z", "username": "string" } ]}