Use GitLab to inspect projects and repositories, manage issues and merge requests, add comments, and run or monitor CI/CD pipelines. Additional actions manage project and group membership, invitations, access requests, SAML group links, and instance users. Availability depends on the connected account's permissions and the GitLab instance.
Manage projects, issues, merge requests, pipelines, and add comments, plus project/group membership, invitations, access requests, SAML group links, and instance user administration. Additional operations depend on the connected account and instance permissions.
List GitLab projects accessible to the authenticated user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. ownedboolean No Limit to projects owned by the current user membershipboolean No Limit to projects the current user is a member of searchstring No Search projects by name visibilitystring No Filter by visibility (public, internal, private) orderBystring No Order by field (id, name, path, created_at, updated_at, last_activity_at) sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description projectsarray List of GitLab projects totalnumber Total number of projects
Get details of a specific GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) (e.g., "namespace/project")
Parameter Type Description projectobject The GitLab project details
List GitLab groups accessible to the authenticated user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. ownedboolean No Limit to groups owned by the current user searchstring No Search groups by name or path topLevelOnlyboolean No Limit to top-level groups, excluding subgroups visibilitystring No Filter by visibility: public, internal, or private minAccessLevelnumber No Only groups where the current user has at least this access level, as an integer (e.g. 30 for Developer). Valid values: 5, 10, 15, 20, 25, 30, 40, 50. allAvailableboolean No Include all groups the user can access, not only groups they are a member of (ignored when owned or a minimum access level is set) orderBystring No Order by field (name, path, id, similarity). similarity requires a search term. sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description groupsarray List of GitLab groups totalnumber Total number of groups
Get details of a specific GitLab group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. groupIdstring Yes Group ID or path (e.g. mygroup or parent/subgroup)
Parameter Type Description groupobject The GitLab group details
List a user's project and group memberships. Requires an administrator access token (GET /users/:id/memberships is admin-only). For a non-admin path, iterate List Members on each project or group instead.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdstring Yes The ID of the user whose memberships to list membershipTypestring No Filter by source: 'Project' or 'Namespace' (group). Omit for all memberships. perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description membershipsarray The user's project and group memberships totalnumber Total number of memberships
List issues in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) statestring No Filter by state (opened, closed, all) labelsstring No Comma-separated list of label names assigneeIdnumber No Filter by assignee user ID milestoneTitlestring No Filter by milestone title searchstring No Search issues by title and description orderBystring No Order by field (created_at, updated_at, priority, due_date, relative_position, label_priority, milestone_due, popularity, weight) sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description issuesarray List of GitLab issues totalnumber Total number of issues
Get details of a specific GitLab issue
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) issueIidnumber Yes Issue number within the project (the # shown in GitLab UI)
Parameter Type Description issueobject The GitLab issue details
Create a new issue in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) titlestring Yes Issue title descriptionstring No Issue description (Markdown supported) labelsstring No Comma-separated list of label names assigneeIdsarray No Array of user IDs to assign milestoneIdnumber No Milestone ID to assign dueDatestring No Due date in YYYY-MM-DD format confidentialboolean No Whether the issue is confidential
Parameter Type Description issueobject The created GitLab issue
Update an existing issue in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) issueIidnumber Yes Issue internal ID (IID) titlestring No New issue title descriptionstring No New issue description (Markdown supported) stateEventstring No State event (close or reopen) labelsstring No Comma-separated list of label names assigneeIdsarray No Array of user IDs to assign milestoneIdnumber No Milestone ID to assign dueDatestring No Due date in YYYY-MM-DD format confidentialboolean No Whether the issue is confidential
Parameter Type Description issueobject The updated GitLab issue
Delete an issue from a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) issueIidnumber Yes Issue internal ID (IID)
Parameter Type Description successboolean Whether the issue was deleted successfully
Add a comment to a GitLab issue
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) issueIidnumber Yes Issue internal ID (IID) bodystring Yes Comment body (Markdown supported) internalboolean No Create the comment as an internal note visible only to project members
Parameter Type Description noteobject The created comment
List merge requests in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) statestring No Filter by state (opened, closed, locked, merged, all) labelsstring No Comma-separated list of label names sourceBranchstring No Filter by source branch targetBranchstring No Filter by target branch orderBystring No Order by field (created_at, updated_at, merged_at, priority, label_priority, milestone_due, popularity, title) sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description mergeRequestsarray List of GitLab merge requests totalnumber Total number of merge requests
Get details of a specific GitLab merge request
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID)
Parameter Type Description mergeRequestobject The GitLab merge request details
Create a new merge request in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) sourceBranchstring Yes Source branch name targetBranchstring Yes Target branch name titlestring Yes Merge request title descriptionstring No Merge request description (Markdown supported) labelsstring No Comma-separated list of label names assigneeIdsarray No Array of user IDs to assign milestoneIdnumber No Milestone ID to assign removeSourceBranchboolean No Delete source branch after merge squashboolean No Squash commits on merge draftboolean No Mark as draft (applied via the "Draft:" title prefix)
Parameter Type Description mergeRequestobject The created GitLab merge request
Update an existing merge request in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID) titlestring No New merge request title descriptionstring No New merge request description stateEventstring No State event (close or reopen) labelsstring No Comma-separated list of label names assigneeIdsarray No Array of user IDs to assign milestoneIdnumber No Milestone ID to assign targetBranchstring No New target branch removeSourceBranchboolean No Delete source branch after merge squashboolean No Squash commits on merge draftboolean No Mark as draft or remove draft status (applied via the "Draft:" title prefix; requires title to be set)
Parameter Type Description mergeRequestobject The updated GitLab merge request
Merge a merge request in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID) mergeCommitMessagestring No Custom merge commit message squashCommitMessagestring No Custom squash commit message squashboolean No Squash commits before merging shouldRemoveSourceBranchboolean No Delete source branch after merge mergeWhenPipelineSucceedsboolean No Merge when pipeline succeeds
Parameter Type Description mergeRequestobject The merged GitLab merge request
Add a comment to a GitLab merge request
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID) bodystring Yes Comment body (Markdown supported) internalboolean No Create the comment as an internal note visible only to project members
Parameter Type Description noteobject The created comment
List pipelines in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) refstring No Filter by ref (branch or tag) statusstring No Filter by status (created, waiting_for_resource, preparing, pending, running, success, failed, canceling, canceled, skipped, manual, scheduled, waiting_for_callback) orderBystring No Order by field (id, status, ref, updated_at, user_id) sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description pipelinesarray List of GitLab pipelines totalnumber Total number of pipelines
Get details of a specific GitLab pipeline
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) pipelineIdnumber Yes Pipeline ID
Parameter Type Description pipelineobject The GitLab pipeline details
Trigger a new pipeline in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) refstring Yes Branch or tag to run the pipeline on variablesarray No Array of variables for the pipeline (each with key, value, and optional variable_type) inputsjson No Pipeline inputs as a key/value object (for pipelines with spec:inputs)
Parameter Type Description pipelineobject The created GitLab pipeline
Retry a failed GitLab pipeline
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) pipelineIdnumber Yes Pipeline ID
Parameter Type Description pipelineobject The retried GitLab pipeline
Cancel a running GitLab pipeline
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) pipelineIdnumber Yes Pipeline ID
Parameter Type Description pipelineobject The cancelled GitLab pipeline
List files and directories in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) pathstring No Path inside the repository to list refstring No Branch, tag, or commit SHA to list from recursiveboolean No Whether to list files recursively perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description treearray List of repository tree entries totalnumber Total number of tree entries
Get the contents of a file from a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) filePathstring Yes Path to the file in the repository refstring Yes Branch, tag, or commit SHA
Parameter Type Description filePathstring The file path fileNamestring The file name sizenumber The file size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file contentstring The decoded file content, truncated to 1M characters truncatedboolean Whether the content was truncated
Create a new file in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) filePathstring Yes Path to the file in the repository branchstring Yes Branch to commit the new file to contentstring Yes File content startBranchstring No Name of the base branch to create the target branch from, if it does not exist authorNamestring No Commit author name (defaults to the token user) authorEmailstring No Commit author email (defaults to the token user) executeFilemodeboolean No Enable the execute flag on the file commitMessagestring Yes Commit message
Parameter Type Description filePathstring The created file path branchstring The branch the file was committed to
Update an existing file in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) filePathstring Yes Path to the file in the repository branchstring Yes Branch to commit the update to contentstring Yes New file content startBranchstring No Name of the base branch to create the target branch from, if it does not exist authorNamestring No Commit author name (defaults to the token user) authorEmailstring No Commit author email (defaults to the token user) executeFilemodeboolean No Enable or disable the execute flag on the file commitMessagestring Yes Commit message lastCommitIdstring No Last known commit ID for the file (optimistic locking)
Parameter Type Description filePathstring The updated file path branchstring The branch the update was committed to
Create a new branch in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) branchstring Yes Name of the new branch refstring Yes Source branch/tag/SHA
Parameter Type Description namestring The created branch name webUrlstring The web URL of the branch protectedboolean Whether the branch is protected commitobject The commit the branch points to
Delete a branch from a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) branchstring Yes Name of the branch to delete
Parameter Type Description successboolean Whether the branch was deleted successfully
Compare two branches, tags, or commits in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) fromstring Yes Commit SHA or branch/tag name to compare from tostring Yes Commit SHA or branch/tag name to compare to straightboolean No Compare directly from..to instead of using the merge base (defaults to false) fromProjectIdstring No ID of the project to compare from (for cross-fork comparisons) unidiffboolean No Return diffs in unified diff format (GitLab 16.5+)
Parameter Type Description commitobject The latest commit in the comparison commitsarray Commits between the two references diffsarray File diffs between the two references compareTimeoutboolean Whether the comparison exceeded size limits or timed out compareSameRefboolean Whether both references point to the same commit webUrlstring The web URL for viewing the comparison
List branches in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) searchstring No Filter branches by name perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description branchesarray List of branches totalnumber Total number of branches
List commits in a GitLab project repository
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) refNamestring No Branch, tag, or revision range to list commits from sincestring No Only commits after this ISO 8601 date untilstring No Only commits before this ISO 8601 date pathstring No Only commits affecting this file path authorstring No Filter commits by author perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description commitsarray List of commits totalnumber Number of commits returned on this page (GitLab does not report a grand total for commits)
Get the file changes (diffs) of a GitLab merge request
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID)
Parameter Type Description mergeRequestIidnumber The merge request internal ID (IID) changesarray List of file changes (diffs) changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether the merge request has more than 100 changed files (results truncated)
Approve a GitLab merge request
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) mergeRequestIidnumber Yes Merge request internal ID (IID) shastring No HEAD SHA of the merge request to approve
Parameter Type Description approvalsRequirednumber Number of approvals required approvalsLeftnumber Number of approvals still needed approvedByarray List of approvers
List jobs for a GitLab pipeline
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) pipelineIdnumber Yes Pipeline ID scopestring No Filter jobs by scope (e.g. created, running, success, failed) includeRetriedboolean No Whether to include retried jobs perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description jobsarray List of pipeline jobs totalnumber Total number of jobs
Get the log (trace) of a GitLab job
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) jobIdnumber Yes Job ID
Parameter Type Description logstring The job log (trace) output, truncated to 200k characters truncatedboolean Whether the log was truncated
Trigger (play) a manual GitLab job
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) jobIdnumber Yes Job ID jobVariablesarray No Variables for the manual job (array of objects with key and value)
Parameter Type Description idnumber The job ID namestring The job name statusstring The job status webUrlstring The web URL of the job
List releases in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) orderBystring No Order by field (released_at, created_at) sortstring No Sort direction (asc, desc) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description releasesarray List of GitLab releases totalnumber Total number of releases
Create a new release in a GitLab project
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. projectIdstring Yes Project ID or path (e.g. mygroup/myproject) tagNamestring Yes The Git tag for the release namestring No The release name descriptionstring No Release description/notes (Markdown supported) refstring No Commit SHA, branch, or tag to create the tag from if it does not already exist releasedAtstring No ISO 8601 date for an upcoming or historical release tagMessagestring No Annotation message to use if creating a new annotated tag assetLinksarray No Release asset links: array of objects with name, url, and optional link_type (other, runbook, image, package) milestonesarray No Array of milestone titles to associate with the release
Parameter Type Description releaseobject The created GitLab release
List members of a GitLab project or group. Includes members inherited from ancestor groups by default.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) directOnlyboolean No When true, returns only direct members. Defaults to false, which also returns members inherited from ancestor groups. querystring No Filter members by name, email, or username userIdsstring No Comma-separated user IDs to filter the results to statestring No Filter inherited-member results by state: 'awaiting' or 'active' (Premium/Ultimate; only applies when inherited members are included) showSeatInfoboolean No Include seat information for each member perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description membersarray List of project or group members totalnumber Total number of members
Add an existing GitLab user to a project or group at a given access level
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) userIdnumber No The ID of the user to add. Provide either userId or username. usernamestring No The username of the user to add. Provide either userId or username. accessLevelnumber Yes Access level: 0 (No access), 5 (Minimal), 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner) expiresAtstring No Access expiration date in YYYY-MM-DD format memberRoleIdnumber No Custom member role ID (GitLab Ultimate only)
Parameter Type Description memberobject The added member alreadyMemberboolean Whether the user was already a member (add was a no-op)
Update a member's access level in a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) userIdnumber Yes The ID of the member to update accessLevelnumber Yes New access level: 0 (No access), 5 (Minimal), 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner) expiresAtstring No Access expiration date in YYYY-MM-DD format. Pass an empty string to clear an existing expiration. memberRoleIdnumber No Custom member role ID (GitLab Ultimate only). Warning: when omitted, GitLab removes any custom role the member currently holds.
Parameter Type Description memberobject The updated member
Remove a member from a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) userIdnumber Yes The ID of the member to remove skipSubresourcesboolean No Skip deleting the member from subgroups and projects below the target (defaults to false) unassignIssuablesboolean No Unassign the member from all issues and merge requests in the target (defaults to false)
Parameter Type Description successboolean Whether the member was removed successfully
Invite a person to a GitLab project or group by email address
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) emailstring Yes Email address to invite (comma-separated for multiple) accessLevelnumber Yes Access level: 0 (No access), 5 (Minimal), 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner) expiresAtstring No Access expiration date in YYYY-MM-DD format memberRoleIdnumber No Custom member role ID (GitLab Ultimate only) inviteSourcestring No Identifier recorded as the source of the invitation (for attribution)
Parameter Type Description statusstring Invitation status returned by GitLab messageobject Per-email result detail, if any
List pending email invitations for a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) querystring No Filter invitations by invited email perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description invitationsarray List of pending invitations totalnumber Total number of invitations
Update a pending invitation to a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) emailstring Yes Email address of the invitation to update accessLevelnumber No New access level: 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner) expiresAtstring No Access expiration date (ISO 8601, e.g. 2026-12-31T00:00:00Z; date-only also accepted). At least one of accessLevel or expiresAt must be provided.
Parameter Type Description invitationobject The updated invitation
Revoke a pending email invitation to a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) emailstring Yes Email address of the invitation to revoke
Parameter Type Description successboolean Whether the invitation was revoked successfully
List pending access requests for a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description accessRequestsarray List of pending access requests totalnumber Total number of access requests
Approve a pending access request for a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) userIdnumber Yes The user ID of the access requester accessLevelnumber No Access level to grant: 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner). Defaults to 30 (Developer).
Parameter Type Description accessRequestobject The approved access request
Deny (delete) a pending access request for a GitLab project or group
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. resourceTypestring Yes Whether the resource is a 'project' or a 'group' resourceIdstring Yes Project or group ID or path (e.g. mygroup/myproject) userIdnumber Yes The user ID of the access requester
Parameter Type Description successboolean Whether the access request was denied successfully
List SAML group links for a GitLab group. Use this to detect whether a group is governed by SAML group sync before provisioning members.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. groupIdstring Yes Group ID or path (e.g. my-org/my-group)
Parameter Type Description samlGroupLinksarray List of SAML group links totalnumber Number of SAML group links
Search for GitLab users by name, username, or email. Email matches must be exact; private emails match only with an admin token. Use this to resolve an email to a user ID before adding a member.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. searchstring Yes Name, username, or email to search for perPagenumber No Number of results per page (default 20, max 100) pagenumber No Page number for pagination
Parameter Type Description usersarray List of matching users totalnumber Total number of matching users
Create a new GitLab user. Requires an administrator token with admin_mode on the instance.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. emailstring Yes The user's email address usernamestring Yes The user's username namestring Yes The user's display name passwordstring No The user's password. Omit and set resetPassword to email a reset link instead. resetPasswordboolean No Send the user a password reset link instead of setting a password forceRandomPasswordboolean No Set a random password without emailing a reset link (useful for SSO-only accounts). One of password, resetPassword, or forceRandomPassword is required. adminboolean No Whether the new user is an administrator skipConfirmationboolean No Skip email confirmation for the new user
Parameter Type Description userobject The created user
Modify an existing GitLab user. Requires an administrator token with admin_mode on the instance.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to modify emailstring No The user's new email address (GitLab only allows changing to one of the user's existing verified secondary emails) usernamestring No The user's new username namestring No The user's new display name adminboolean No Whether the user is an administrator
Parameter Type Description userobject The updated user
Delete a GitLab user. Requires an administrator token with admin_mode on the instance.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to delete hardDeleteboolean No When true, contributions, personal projects, AND groups owned solely by this user are deleted rather than moved to a Ghost User
Parameter Type Description successboolean Whether the user was deleted successfully
Block a GitLab user, preventing them from signing in or accessing the instance
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Unblock a previously blocked GitLab user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Deactivate a dormant GitLab user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Reactivate a deactivated GitLab user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Ban a GitLab user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Unban a previously banned GitLab user
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Approve a GitLab user whose signup is pending administrator approval
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Reject a GitLab user whose signup is pending administrator approval
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user to act on
Parameter Type Description projectsjson List of projects projectjson Project details groupsjson List of groups groupjson Group details membershipsjson A user's project and group memberships issuesjson List of issues issuejson Issue details mergeRequestsjson List of merge requests mergeRequestjson Merge request details mergeRequestIidnumber Merge request internal ID (IID) pipelinesjson List of pipelines pipelinejson Pipeline details notejson Comment/note details treejson Repository tree entries contentstring File contents (decoded) fileNamestring File name filePathstring Path to the file in the repository branchstring Branch the file was committed to branchesjson List of branches commitsjson List of commits commitjson A single commit (e.g. latest commit in a comparison) namestring Created branch name protectedboolean Whether the branch is protected sizenumber File size in bytes refstring The branch, tag, or commit SHA blobIdstring The blob ID lastCommitIdstring The last commit ID that modified the file webUrlstring Web URL changesjson Merge request file changes/diffs changesCountnumber Number of changed files returned (first 100) hasMoreboolean Whether more changed files exist beyond the first 100 approvalsRequirednumber Approvals required approvalsLeftnumber Approvals remaining approvedByjson List of approvers jobsjson Pipeline jobs logstring Job log output idnumber Job ID statusstring Job status diffsjson File diffs between two compared references compareTimeoutboolean Whether the comparison timed out compareSameRefboolean Whether both compared references match releasesjson List of releases releasejson Release details membersjson List of project or group members memberjson A single member alreadyMemberboolean Whether the user was already a member invitationsjson List of pending invitations invitationjson A single invitation accessRequestsjson List of pending access requests accessRequestjson A single access request samlGroupLinksjson List of SAML group links samlGroupLinkjson A single SAML group link messagejson Per-email invitation result detail usersjson List of matching users userjson User details totalnumber Total number of items available across all pages truncatedboolean Whether returned content (file content or job log) was truncated successboolean Operation success status
Delete a user's authentication identity (e.g. SAML or LDAP). Requires an administrator token with admin_mode on the instance.
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. userIdnumber Yes The ID of the user providerstring Yes The external identity provider name (e.g. saml, ldapmain)
Parameter Type Description successboolean Whether the identity was deleted successfully
Add a SAML group link that maps an identity-provider group to a GitLab group at a given access level (GitLab Premium/Ultimate)
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. groupIdstring Yes Group ID or path (e.g. my-org/my-group) samlGroupNamestring Yes The name of the SAML group as sent by the identity provider accessLevelnumber Yes Access level granted to members of the SAML group: 10 (Guest), 15 (Planner), 20 (Reporter), 25 (Security Manager), 30 (Developer), 40 (Maintainer), 50 (Owner) memberRoleIdnumber No Custom member role ID (GitLab Ultimate only) providerstring No Unique provider name that must match for this group link to be applied (GitLab 18.2+)
Parameter Type Description samlGroupLinkobject The created SAML group link
Delete a SAML group link from a GitLab group (GitLab Premium/Ultimate)
Inputs and outputsParameter Type Required Description hoststring No Self-managed GitLab host (e.g. gitlab.example.com). Defaults to gitlab.com. groupIdstring Yes Group ID or path (e.g. my-org/my-group) samlGroupNamestring Yes The name of the SAML group link to delete providerstring No Provider name of the link to delete. Required when multiple links share the same SAML group name.
Parameter Type Description successboolean Whether the SAML group link was deleted successfully
A trigger starts a workflow when a supported event occurs in this service.
Trigger workflow when a comment is added on a commit, merge request, or issue
Parameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (note) event_typestring GitLab event type from the X-Gitlab-Event header userobject ↳ id number User ID ↳ name string User display name ↳ username string Username projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) object_attributesobject ↳ id number Comment ID ↳ note string Comment body ↳ noteable_type string What the comment is on (Commit, MergeRequest, Issue, Snippet) ↳ action string Action (create, update) ↳ url string Comment URL
Trigger workflow from any GitLab webhook event
Parameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (push, merge_request, issue, etc.) event_typestring GitLab event type from the X-Gitlab-Event header userjson Actor that triggered the event (when present) projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) object_attributesjson Event-specific attributes (varies by object_kind)
Trigger workflow when an issue is opened, updated, or closed in GitLab
Configuration and outputsParameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (issue) event_typestring GitLab event type from the X-Gitlab-Event header userobject ↳ id number User ID ↳ name string User display name ↳ username string Username projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) object_attributesobject ↳ id number Global issue ID ↳ iid number Project-scoped issue number ↳ title string Issue title ↳ state string State (opened, closed) ↳ action string Action (open, close, reopen, update) ↳ description string Issue description ↳ confidential boolean Whether the issue is confidential ↳ url string Issue URL ↳ work_item_type string Work item type (e.g. Issue, Incident, Task); GitLab 17.2+ only
Trigger workflow when a merge request is opened, updated, or merged in GitLab
Configuration and outputsParameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (merge_request) event_typestring GitLab event type from the X-Gitlab-Event header userobject ↳ id number User ID ↳ name string User display name ↳ username string Username projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) object_attributesobject ↳ id number Global merge request ID ↳ iid number Project-scoped merge request number ↳ title string Merge request title ↳ state string State (opened, closed, merged, locked) ↳ action string Action (open, close, reopen, update, merge, etc.) ↳ source_branch string Source branch ↳ target_branch string Target branch ↳ merge_status string Merge status (deprecated by GitLab) ↳ detailed_merge_status string Detailed merge status ↳ draft boolean Whether the merge request is a draft ↳ url string Merge request URL
Trigger workflow when a pipeline status changes in GitLab
Configuration and outputsParameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (pipeline) event_typestring GitLab event type from the X-Gitlab-Event header userobject ↳ id number User ID ↳ name string User display name ↳ username string Username projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) object_attributesobject ↳ id number Pipeline ID ↳ status string Pipeline status (success, failed, running, etc.) ↳ detailed_status string Detailed pipeline status ↳ ref string Ref the pipeline ran on ↳ sha string Commit SHA ↳ source string Pipeline source (push, web, schedule, etc.) ↳ duration number Pipeline duration in seconds ↳ url string Pipeline URL
Trigger workflow when commits are pushed to a GitLab project
Parameter Type Required Description accessTokenstring Yes Used to create the webhook in your project. Requires the Maintainer or Owner role. projectIdstring Yes The GitLab project to register the webhook on. hoststring No Self-managed GitLab host. Leave blank for gitlab.com.
Parameter Type Description object_kindstring Event kind (push) event_typestring GitLab event type from the X-Gitlab-Event header refstring Git ref that was pushed (e.g. refs/heads/main) branchstring Branch name derived from ref beforestring SHA before the push afterstring SHA after the push checkout_shastring SHA of the most recent commit user_usernamestring Username of the pusher user_namestring Display name of the pusher user_emailstring Email of the pusher total_commits_countnumber Number of commits in the push projectobject ↳ id number Project ID ↳ name string Project name ↳ web_url string Project web URL ↳ path_with_namespace string Full path (namespace/project) commitsjson Array of commit objects included in this push