library
turbot/gitlab
Get Involved
Version
Create Group Invitation
Adds a new member to the group by email invite.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run gitlab.pipeline.create_group_invitation \ --arg 'group_id=<string>' \ --arg 'email=<string>' \ --arg 'access_level=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = gitlab.pipeline.create_group_invitation args = { group_id = <string> email = <string> access_level = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
group_id | string | Yes | The ID or URL-encoded path of the group owned by the authenticated user. | - |
string | Yes | The email of the new member. | - | |
access_level | string | Yes | "A valid access level (defaults: 30, the Developer role)." * No access (0) * Minimal access (5) (Introduced in GitLab 13.5.) * Guest (10) * Reporter (20) * Developer (30) * Maintainer (40) * Owner (50). Valid for projects in GitLab 14.9 and later. | - |
Outputs
Name | Description |
---|---|
invitation | Invitation details. |