- Valid access levels
- Add a member to a group or project
- List all invitations pending for a group or project
- Update an invitation to a group or project
- Delete an invitation to a group or project
Invitations API
Use the Invitations API to invite or add users to a group or project, and to list pending invitations.
Valid access levels
To send an invitation, you must have access to the project or group you are sending email for. Valid access
levels are defined in the Gitlab::Access
module. Currently, these levels are valid:
- No access (
0
) - Minimal access (
5
) (Guest (10
)- Reporter (
20
)- Developer (
30
)- Maintainer (
40
)- Owner (
50
) - Only valid to set for groups - Reporter (
Add a member to a group or project
Adds a new member. You can specify a user ID or invite a user by email.
POST /groups/:id/invitations
POST /projects/:id/invitations