Denies an access request for the given user.

DELETE /projects/{id}/access_requests/{user_id}

This feature was introduced in GitLab 8.11.

Path parameters

  • id string Required

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

  • user_id integer(int32) Required

    The user ID of the access requester

Responses

  • 204

    Denies an access request for the given user.

DELETE /projects/{id}/access_requests/{user_id}
curl \
 --request DELETE 'https://www.gitlab.com/api/v4/projects/{id}/access_requests/{user_id}' \
 --header "Private-Token: $API_KEY"