ListProjectMembers

Updated at:

Retrieves project members.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /organization/{organizationId}/projects/{projectId}/listMembers HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The enterprise identifier, also known as the enterprise ID. This is a string that can be obtained from the Yunxiao URL, such as https://devops.aliyun.com/organization/[OrganizationId].

5ebbc0228123212b59xxxxx

projectId

string

Yes

The project ID, which is the same as spaceIdentifier.

e8bxxxxx2abd6e76aa209b07d23

Request parameters

Parameter

Type

Required

Description

Example

targetType

string

Yes

The type of the requested resource. Set this parameter to Space.

Space

Response elements

Element

Type

Description

Example

object

requestId

string

The request ID. Each request has a unique ID to facilitate subsequent troubleshooting.

ASSDS-ASSASX-XSAXSA-XSAXSAXS

errorMsg

string

The error message.

error

errorCode

string

The error code.

Openapi.RequestError

success

boolean

Indicates whether the request is successful.

true

members

array<object>

The member information.

array<object>

account

string

The logon account.

null

avatar

string

The profile picture.

https://xxxxxx.png

dingTalkId

string

The DingTalk ID.

null

displayName

string

The display name.

Name

displayNickName

string

The display nickname.

mingcheng

displayRealName

string

The display real name.

Name

division

object

The department information.

identifier

string

The unique identifier of the department.

1345xxxxxxx947xxxx

email

string

The email address.

accountsxxxx@mail.com

gender

string

The gender.

null

identifier

string

The unique identifier of the user.

19xxxx31947xxxx

mobile

string

The mobile phone number.

135xxxxxxxxx

nameEn

string

The English name.

name

nickName

string

The nickname.

Nickname

nickNamePinyin

string

The pinyin of the nickname.

nicheng

organizationUserInfo

object

The enterprise information.

organizationIdentifier

string

The unique identifier of the enterprise.

5e7xxxxb3cd3711dd6xxx2c

realName

string

The real name.

xxx

realNamePinyin

string

The pinyin of the real name.

xxx

stamp

string

The user type. Valid values: User and UserGroup, which indicate a user or a user group.

User

tbRoleId

string

The role ID.

null

roleName

string

The role name.

Administrator

Examples

Success response

JSON format

{
  "requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
  "errorMsg": "error",
  "errorCode": "Openapi.RequestError",
  "success": true,
  "members": [
    {
      "account": "null",
      "avatar": "https://xxxxxx.png",
      "dingTalkId": "null",
      "displayName": "名称",
      "displayNickName": "mingcheng",
      "displayRealName": "名称",
      "division": {
        "identifier": "1345xxxxxxx947xxxx"
      },
      "email": "accountsxxxx@mail.com",
      "gender": "null",
      "identifier": "19xxxx31947xxxx",
      "mobile": "135xxxxxxxxx",
      "nameEn": "name",
      "nickName": "昵称",
      "nickNamePinyin": "nicheng",
      "organizationUserInfo": {
        "organizationIdentifier": "5e7xxxxb3cd3711dd6xxx2c"
      },
      "realName": "xxx",
      "realNamePinyin": "xxx",
      "stamp": "User",
      "tbRoleId": "null",
      "roleName": "管理员"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 Openapi.RequestError request error
403 Operate.NoPermission NoPermission You are not authorized to perform this operation.
404 InvaildSpace.NotInCurrentOrganization space not belong to this organization, please switch organization.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.