add_project_member
Add a user to a GitLab project and assign a specific access level, such as developer or maintainer, to control their permissions and manage team membership.
Instructions
Add a user to a project with specified role/access level
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User numeric ID or username to add | |
| expires_at | No | Optional membership expiration date (YYYY-MM-DD) | |
| project_id | Yes | Project numeric ID (e.g. 31) or namespace path (e.g. 'group/project-name'). URL-encoding is handled automatically. | |
| access_level | Yes | GitLab access level: 'guest' (10), 'reporter' (20), 'developer' (30), 'maintainer' (40), 'owner' (50) |