projectMembers

Lists everyone with access to the project (its members and the owning account's owners and admins, each once under their higher grant) with role, source and resolved capabilities, one page at a time by user ID cursor. Requires project.members.read.

Arguments

  • projectReferenceID!required

    Project UUID, slug or domain. An inaccessible project is not_found.

  • limitInt

    Members per page, 1 to 100; default 20.

  • cursorString

    The previous page's pageInfo.endCursor.

Responses

query ProjectMembers($projectReference: ID!) {  projectMembers(projectReference: $projectReference) {    data {      userId      email      name      avatarSrc      role      source      capabilities    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "projectMembers": {      "data": [        {          "userId": "string",          "email": "[email protected]",          "name": "string",          "avatarSrc": "string",          "role": "owner",          "source": "project",          "capabilities": [            "string"          ]        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The ProjectMemberList! in data.projectMembers.