List organization members
Deprecated
GET
CoderSessionTokenheader
Coder-Session-Token<token>organization*stringOrganization ID
OK
application/json- response
[index: integer]?The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/organizations/{organization}/members" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
[ { "avatar_url": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "global_roles": [ { "display_name": "string", "name": "string", "organization_id": "string" } ], "has_ai_seat": true, "is_service_account": true, "last_seen_at": "2019-08-24T14:15:22Z", "login_type": "", "name": "string", "organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6", "roles": [ { "display_name": "string", "name": "string", "organization_id": "string" } ], "status": "active", "updated_at": "2019-08-24T14:15:22Z", "user_created_at": "2019-08-24T14:15:22Z", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", "user_updated_at": "2019-08-24T14:15:22Z", "username": "string" }]