GitLab API icon

GitLab API

Gitlab

Actions1062

Members → deleteApiV4ProjectsIdMembersUserId

AI-generated

Summary

Delete a project member by user ID from a specified GitLab project, optionally controlling whether to remove direct memberships in subresources and unassign issuables.

Inputs

  • id (required) — The project ID from which to remove the member.
  • user_id (required) — The user ID of the member to be removed from the project.
  • skip_subresources — Optional flag to skip deletion of the member's direct memberships in subgroups and projects.
  • unassign_issuables — Optional flag to unassign the removed member from issues or merge requests within the given group or project.
  • skipAuthentication — Flag to skip using authentication credentials (default: false).
  • baseUrl — Base URL of the GitLab instance (defaults to https://gitlab.com).

Output shape

no body — success/failure only

The operation returns no content in the response body but indicates success or failure via HTTP status codes.

Links

Discussion