跳到主要内容

Get Authorized User's Member Profile in an Organization

GET 

/api/v5/user/memberships/orgs/:org

Request​

Path Parameters

    org stringrequired

    The path of the enterprise (path/login)

Query Parameters

    access_token stringrequired

    User authorization code

Responses​

Successful Response

Response Headers
    Schema
      idinteger
      pathstring
      namestring
      urlstring
      avatar_urlstring
      user object
      idstring
      loginstring
      namestring
      avatar_urlstring
      html_urlstring
      activeinteger
      rolestring
      organization object
      idinteger
      loginstring
      namestring