Requests access for the authenticated user to a project

POST /v4/projects/{id}/access_requests

Requests access for the authenticated user to a project

Path parameters

  • id integer | string Required

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

Responses

POST /v4/projects/{id}/access_requests
curl \
 -X POST 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"
}