GitLab API

GitlabTool

Actions1095

Members → putApiV4ProjectsIdMembersUserId

AI-generated

Summary

Update a project member's access level for a specified project and user in GitLab via the API.

Inputs

  • id (required) — The project ID identifying which project the member belongs to.
  • user_id (required) — The user ID of the member whose access level is being updated.
  • putApiV4ProjectsIdMembersUserId (required) — The request body conforms to the GitLab API schema for updating a project member, including fields such as access level.
  • baseUrl — The base URL of the GitLab instance, defaults to https://gitlab.com.
  • skipAuthentication — If true, skips using authentication credentials; otherwise, authenticates using defined GitLab API credentials.

Output shape

a single record representing the updated project member object as returned by the GitLab API after successful update.

Requires mandatory path parameters id and user_id. The request body must follow the GitLab API schema for member update. By default, the call uses stored GitLab API credentials unless skipAuthentication is set to true. The operation corresponds to an HTTP PUT request to /api/v4/projects/{id}/members/{user_id}.

Links

Discussion