跳到主要内容

List All Members of An Organization

GET 

/api/v5/orgs/:org/members

Request​

Path Parameters

    org stringrequired

    The path of the enterprise (path/login)

Query Parameters

    access_token stringrequired

    User authorization code

    page integer

    Current page number: defaults to 1

    per_page integer

    The number of items per page, with a maximum of 100. The default is 20.

    role string

    Filter members by role (all/admin/member)

Responses​

Successful Response

Response Headers
    Schema
    • Array [
    • avatar_urlstring
      followers_urlstring
      html_urlstring
      idstring
      loginstring
      member_rolestring
      namestring
      typestring
      urlstring
      user_idstring
      object_idstring
    • ]