projects

List all members of a project

Lists all members with access to a specified project.

get/api/v4/projects/{id}/users

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project

Query parameters

searchstring

Return list of users matching the search criteria

skip_usersinteger[]

Filter out users with the specified IDs

pageinteger

Current page number

per_pageinteger

Number of items per page

Response

List all members of a project

idinteger required
usernamestring required
public_emailstring required
namestring required
statestring required
lockedboolean required
avatar_urlstring required
avatar_pathstring
web_urlstring required

Example response

[
  {
    "id": 1,
    "username": "admin",
    "public_email": "john@example.com",
    "name": "Administrator",
    "state": "active",
    "avatar_url": "https://gravatar.com/avatar/1",
    "avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png",
    "custom_attributes": [
      {
        "key": "foo",
        "value": "bar"
      }
    ],
    "web_url": "https://gitlab.example.com/root"
  }
]

Changes

No recorded changes to this operation across all 5 revisions of this API.