List access requests for a project

GET /v4/projects/{id}/access_requests

Lists access requests for a project

Path parameters

  • id integer | string Required

    The ID or URL-encoded path of the project owned by the authenticated user.

Responses

GET /v4/projects/{id}/access_requests
curl \
 -X GET https://gitlab.com/api/v4/projects/{id}/access_requests
Response examples (200)
[
  {
    "id": 1,
    "name": "Raymond Smith",
    "state": "active",
    "username": "raymond_smith",
    "created_at": "2012-10-22T14:13:35Z",
    "requested_at": "2012-10-22T14:13:35Z"
  },
  {
    "id": 2,
    "name": "John Doe",
    "state": "active",
    "username": "john_doe",
    "created_at": "2012-10-22T14:13:35Z",
    "requested_at": "2012-10-22T14:13:35Z"
  }
]