List access requests for a group

GET /v4/groups/{id}/access_requests

List access requests for a group

Path parameters

  • id integer | string Required

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

Responses

GET /v4/groups/{id}/access_requests
curl \
 -X GET https://gitlab.com/api/v4/groups/{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"
  }
]