Gets a list of access requests for a group.

GET /groups/{id}/access_requests

This feature was introduced in GitLab 8.11.

Path parameters

  • id string Required

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

Query parameters

  • page integer(int32)

    Current page number

    Default value is 1.

  • per_page integer(int32)

    Number of items per page

    Default value is 20.

Responses

  • 200 application/json

    Gets a list of access requests for a group.

    Hide response attributes Show response attributes object
    • id integer(int32)
    • username string
    • name string
    • state string
    • avatar_url string
    • avatar_path string
    • custom_attributes array[object]
      Hide custom_attributes attributes Show custom_attributes attributes object
      • key string
      • value string
    • web_url string
    • email string
    • requested_at string
GET /groups/{id}/access_requests
curl \
 --request GET 'https://www.gitlab.com/api/v4/groups/{id}/access_requests' \
 --header "Private-Token: $API_KEY"
Response examples (200)
{
  "id": 1,
  "username": "admin",
  "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",
  "email": "string",
  "requested_at": "string"
}