Ir al contenido

Usuarios

El usuario actual y cada usuario que gestiona un administrador: leer y listar usuarios, crear, modificar y borrar cuentas, y bloquear, desbloquear, vetar, levantar el veto, activar, desactivar, aprobar o rechazar una; claves SSH y GPG y correos, del usuario actual o de otro; tokens de acceso personales y tokens de suplantación; el estado y el avatar del usuario; actividades, pertenencias y eventos de contribución y de proyecto; tareas pendientes; ajustes de notificación; espacios de nombres; cuentas de servicio de la instancia; y runners creados para el usuario.

Los tokens de acceso de proyecto y de grupo, los tokens de despliegue y las claves de despliegue están en Tokens de acceso y credenciales.

  • “¿Con qué usuario he iniciado sesión?”
  • “Lista mis claves SSH”
  • “¿Cuáles son mis tareas pendientes?”
  • “Bloquea al usuario spammer42”
  • Dinámica, la superficie predeterminada: llama a gitlab_execute_action con action igual al ID de la acción, como user.activate, y sus parámetros en params. gitlab_find_action encuentra un ID a partir de una descripción de la tarea.
  • Meta (GITLAB_MCP_TOOL_SURFACE=meta): llama a gitlab_user con action igual al nombre de la acción, como activate, y sus parámetros en params.
  • Individual (GITLAB_MCP_TOOL_SURFACE=individual): llama a la herramienta propia de la acción, como gitlab_activate_user, pasándole directamente sus parámetros.

Todos los niveles sirven el grupo completo, tanto en instancias autogestionadas como en GitLab.com.

Acciones de solo lectura: 37 de 76, las que conserva un despliegue en modo de solo lectura.

La descripción de cada acción, y la de cada uno de sus parámetros, es el texto que sirve el servidor para ella en la superficie predeterminada, citado tal cual; por eso está en inglés. Una acción destructiva solo se ejecuta una vez confirmada, salvo que GITLAB_MCP_YOLO_MODE (o AUTOPILOT) se salte ese paso: la superficie dinámica necesita confirm: true en gitlab_execute_action, y las otras dos aceptan un parámetro confirm o la pregunta del cliente (Acciones destructivas). Un parámetro seguido de un nivel entre paréntesis solo se sirve a partir de ese nivel.

AcciónIndividual
user.activategitlab_activate_user
user.activitiesgitlab_get_user_activities
user.add_emailgitlab_add_email
user.add_email_for_usergitlab_add_email_for_user
user.add_gpg_keygitlab_add_gpg_key
user.add_gpg_key_for_usergitlab_add_gpg_key_for_user
user.add_ssh_keygitlab_add_ssh_key
user.add_ssh_key_for_usergitlab_add_ssh_key_for_user
user.approvegitlab_approve_user
user.associations_countgitlab_get_user_associations_count
user.avatar_getgitlab_get_avatar
user.bangitlab_ban_user
user.blockgitlab_block_user
user.contribution_eventsgitlab_list_user_contribution_events
user.creategitlab_create_user
user.create_current_user_patgitlab_create_current_user_pat
user.create_impersonation_tokengitlab_create_impersonation_token
user.create_personal_access_tokengitlab_create_personal_access_token
user.create_runnergitlab_create_user_runner
user.create_service_accountgitlab_create_service_account
user.currentgitlab_user_current
user.current_user_statusgitlab_current_user_status
user.deactivategitlab_deactivate_user
user.deletegitlab_delete_user
user.delete_emailgitlab_delete_email
user.delete_email_for_usergitlab_delete_email_for_user
user.delete_gpg_keygitlab_delete_gpg_key
user.delete_gpg_key_for_usergitlab_delete_gpg_key_for_user
user.delete_identitygitlab_delete_user_identity
user.delete_ssh_keygitlab_delete_ssh_key
user.delete_ssh_key_for_usergitlab_delete_ssh_key_for_user
user.disable_two_factorgitlab_disable_two_factor
user.emailsgitlab_list_emails
user.emails_for_usergitlab_list_emails_for_user
user.event_list_contributionsgitlab_user_contribution_event_list
user.event_list_projectgitlab_project_event_list
user.getgitlab_get_user
user.get_emailgitlab_get_email
user.get_gpg_keygitlab_get_gpg_key
user.get_gpg_key_for_usergitlab_get_gpg_key_for_user
user.get_impersonation_tokengitlab_get_impersonation_token
user.get_ssh_keygitlab_get_ssh_key
user.get_ssh_key_for_usergitlab_get_ssh_key_for_user
user.get_statusgitlab_get_user_status
user.gpg_keysgitlab_list_gpg_keys
user.gpg_keys_for_usergitlab_list_gpg_keys_for_user
user.key_get_by_fingerprintgitlab_get_key_by_fingerprint
user.key_get_with_usergitlab_get_key_with_user
user.listgitlab_list_users
user.list_impersonation_tokensgitlab_list_impersonation_tokens
user.list_service_accountsgitlab_list_service_accounts
user.megitlab_user_current
user.membershipsgitlab_get_user_memberships
user.modifygitlab_modify_user
user.namespace_existsgitlab_namespace_exists
user.namespace_getgitlab_namespace_get
user.namespace_listgitlab_namespace_list
user.namespace_searchgitlab_namespace_search
user.notification_global_getgitlab_notification_global_get
user.notification_global_updategitlab_notification_global_update
user.notification_group_getgitlab_notification_group_get
user.notification_group_updategitlab_notification_group_update
user.notification_project_getgitlab_notification_project_get
user.notification_project_updategitlab_notification_project_update
user.rejectgitlab_reject_user
user.revoke_impersonation_tokengitlab_revoke_impersonation_token
user.set_statusgitlab_set_user_status
user.ssh_keysgitlab_list_ssh_keys
user.ssh_keys_for_usergitlab_list_ssh_keys_for_user
user.todo_listgitlab_todo_list
user.todo_mark_all_donegitlab_todo_mark_all_done
user.todo_mark_donegitlab_todo_mark_done
user.unbangitlab_unban_user
user.unblockgitlab_unblock_user
user.update_service_accountgitlab_update_instance_service_account
user.upload_avatargitlab_upload_user_avatar

Activate a deactivated user. Returns: confirmation with the user ID and action. See also: user.deactivate, user.unblock, user.get.

  • Meta-herramienta: gitlab_user, acción activate
  • Herramienta individual: gitlab_activate_user
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

List user activities (admin). Returns: username and last-activity date per user. See also: user.list, user.contribution_events, user.memberships.

  • Meta-herramienta: gitlab_user, acción activities
  • Herramienta individual: gitlab_get_user_activities
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
fromstringnoOnly activities after this date (YYYY-MM-DD)
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order for keyset pagination: asc or desc

Add an email address to the authenticated user’s account. Returns: the created email’s ID, address, and confirmation timestamp. See also: user.get_email, user.delete_email, user.add_email_for_user.

  • Meta-herramienta: gitlab_user, acción add_email
  • Herramienta individual: gitlab_add_email
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
emailstringsíEmail address to add
skip_confirmationbooleannoSkip confirmation email (admin only)

Add an email address to a specific user’s account (admin only). Returns: the created email’s ID, address, and confirmation timestamp. See also: user.emails_for_user, user.delete_email_for_user, user.add_email.

  • Meta-herramienta: gitlab_user, acción add_email_for_user
  • Herramienta individual: gitlab_add_email_for_user
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
emailstringsíEmail address to add
user_idintegersíGitLab user ID
skip_confirmationbooleannoSkip confirmation email (admin only)

Add a GPG key to the authenticated user’s account. Returns: the created key’s ID, armored public key, and creation timestamp. See also: user.gpg_keys, user.get_gpg_key, user.delete_gpg_key, user.add_gpg_key_for_user.

  • Meta-herramienta: gitlab_user, acción add_gpg_key
  • Herramienta individual: gitlab_add_gpg_key
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
keystringsíThe armored GPG public key content

Add a GPG key to a specific user’s account (admin only). Returns: the created key’s ID, armored public key, and creation timestamp. See also: user.gpg_keys_for_user, user.get_gpg_key_for_user, user.delete_gpg_key_for_user, user.add_gpg_key.

  • Meta-herramienta: gitlab_user, acción add_gpg_key_for_user
  • Herramienta individual: gitlab_add_gpg_key_for_user
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
keystringsíThe armored GPG public key content
user_idintegersíThe ID of the user

Add an SSH key to the current user. Returns: created key ID, title, usage type, and expiry. See also: user.ssh_keys, user.get_ssh_key, user.delete_ssh_key.

  • Meta-herramienta: gitlab_user, acción add_ssh_key
  • Herramienta individual: gitlab_add_ssh_key
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
keystringsíThe SSH public key content
titlestringsíA descriptive title for the SSH key
expires_atstringnoExpiration date in ISO 8601 format (YYYY-MM-DD)
usage_typestring (auth, signing, auth_and_signing)noSSH key usage scope: auth (authentication), signing (commit signing), or auth_and_signing (both). Default: auth_and_signing.

Add an SSH key to a specific user. Returns: created key ID, title, usage type, and expiry. Requires admin token. See also: user.ssh_keys_for_user, user.get_ssh_key_for_user, user.delete_ssh_key_for_user.

  • Meta-herramienta: gitlab_user, acción add_ssh_key_for_user
  • Herramienta individual: gitlab_add_ssh_key_for_user
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
keystringsíThe SSH public key content
titlestringsíA descriptive title for the SSH key
user_idintegersíThe ID of the user
expires_atstringnoExpiration date in ISO 8601 format (YYYY-MM-DD)
usage_typestring (auth, signing, auth_and_signing)noSSH key usage scope: auth (authentication), signing (commit signing), or auth_and_signing (both). Default: auth_and_signing.

Approve a pending user sign-up. Returns: confirmation with the user ID and action. See also: user.reject, user.get, user.list.

  • Meta-herramienta: gitlab_user, acción approve
  • Herramienta individual: gitlab_approve_user
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Get a user’s association counts. Returns: groups, projects, issues, and merge-requests counts. See also: user.get, user.memberships, user.delete.

  • Meta-herramienta: gitlab_user, acción associations_count
  • Herramienta individual: gitlab_get_user_associations_count
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Get the avatar URL for an email address. Returns: the resolved avatar URL for that email address. See also: user.me, user.get_status.

  • Meta-herramienta: gitlab_user, acción avatar_get
  • Herramienta individual: gitlab_get_avatar
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
emailstringsíEmail address to look up avatar for
sizeintegernoDesired avatar size in pixels

Ban a user. Returns: confirmation with the user ID and action. Reversible via user.unban. See also: user.unban, user.block, user.get.

  • Meta-herramienta: gitlab_user, acción ban
  • Herramienta individual: gitlab_ban_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Block a user from signing in. Returns: confirmation with the user ID and action. Reversible via user.unblock. See also: user.unblock, user.ban, user.get.

  • Meta-herramienta: gitlab_user, acción block
  • Herramienta individual: gitlab_block_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

List a user’s contribution events. Returns: event entries with action, target type/title and link, project, author, timestamp, the push, note or wiki page the event concerns, and its import origin. See also: user.get, user.activities, user.associations_count.

  • Meta-herramienta: gitlab_user, acción contribution_events
  • Herramienta individual: gitlab_list_user_contribution_events
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user whose events to retrieve
actionstring (created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred)noFilter by event action, one of created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred. Any other value is refused before the request, since GitLab would ignore it and answer every event.
afterstringnoOnly events after this date (YYYY-MM-DD)
beforestringnoOnly events before this date (YYYY-MM-DD)
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
scopestringnoInclude all events across a user’s projects (e.g. ‘all’)
sortstring (asc, desc)noSort order: asc or desc
target_typestring (issue, milestone, merge_request, note, project, snippet, user, wiki, design)noFilter by event target type, one of issue, milestone, merge_request, note, project, snippet, user, wiki, design. GitLab refuses any other value, epic included. Responses spell the type in model form (Issue, MergeRequest, WikiPage::Meta, DesignManagement::Design), which a filter does not accept.

Create a user account. Returns: created user identity and profile summary fields. See also: user.get, user.modify, user.block.

  • Meta-herramienta: gitlab_user, acción create
  • Herramienta individual: gitlab_create_user
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
emailstringsíThe user email address
namestringsíThe user display name
usernamestringsíThe username
adminbooleannoGrant admin privileges
auditor (Premium)booleannoGrant auditor privileges (Premium/Ultimate)
biostringnoUser bio text
can_create_groupbooleannoAllow the user to create groups
color_scheme_idintegernoSyntax-highlighting color scheme ID
commit_emailstringnoEmail used for commits
discordstringnoDiscord account
extern_uidstringnoExternal UID for the provider
externalbooleannoMark user as external
extra_shared_runners_minutes_limit (Premium)integernoExtra shared runners minutes (admin, Premium/Ultimate)
force_random_passwordbooleannoSet a random password instead of requiring one
githubstringnoGitHub account
group_id_for_samlintegernoGroup ID for SAML provisioning
job_titlestringnoUser job title
linkedinstringnoLinkedIn account
locationstringnoUser location
notestringnoAdmin note about the user
organizationstringnoUser organization
passwordstringnoThe user password (required unless reset_password or force_random_password is set)
private_profilebooleannoMake the user’s profile private
projects_limitintegernoMaximum number of projects the user can create
pronounsstringnoUser pronouns
providerstringnoExternal provider name (use with extern_uid)
public_emailstringnoPublicly visible email address
reset_passwordbooleannoSend a password reset email instead of setting password
shared_runners_minutes_limit (Premium)integernoShared runners minutes limit (admin, Premium/Ultimate)
skip_confirmationbooleannoSkip confirmation email and activate user immediately
theme_idintegernoGitLab theme ID for the user’s UI
twitterstringnoTwitter/X account
view_diffs_file_by_filebooleannoShow whitespace changes in diffs file by file
website_urlstringnoUser website URL

Create a personal access token for the current user. Returns: token ID, the secret token, scopes, and expiry. See also: user.me, user.create_runner.

  • Meta-herramienta: gitlab_user, acción create_current_user_pat
  • Herramienta individual: gitlab_create_current_user_pat
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
namestringsíName of the personal access token
scopesstring[]síArray of scopes
descriptionstringnoDescription for the token
expires_atstringnoToken expiration date (YYYY-MM-DD)

Create an impersonation token for a user with the given scopes and optional expiry. Returns: the new token’s id, name, active flag, scopes, revoked flag, created_at, expires_at, and the secret token value (shown once). See also: user.list_impersonation_tokens, user.revoke_impersonation_token, user.create_personal_access_token.

  • Meta-herramienta: gitlab_user, acción create_impersonation_token
  • Herramienta individual: gitlab_create_impersonation_token
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
namestringsíName of the impersonation token
scopesstring[]síArray of scopes (api/read_user/read_api/read_repository/write_repository/read_registry/write_registry/sudo/admin_mode/create_runner/manage_runner/ai_features/k8s_proxy)
user_idintegersíGitLab user ID
expires_atstringnoToken expiration date (YYYY-MM-DD)

Create a personal access token for a user with the given scopes, optional description, and optional expiry. Returns: the new token’s id, name, active flag, scopes, revoked flag, description, user_id, created_at, expires_at, and the secret token value (shown once). See also: access.token_personal_list, access.token_personal_revoke, user.create_impersonation_token.

  • Meta-herramienta: gitlab_user, acción create_personal_access_token
  • Herramienta individual: gitlab_create_personal_access_token
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
namestringsíName of the personal access token
scopesstring[]síArray of scopes
user_idintegersíGitLab user ID
descriptionstringnoDescription for the token
expires_atstringnoToken expiration date (YYYY-MM-DD)

Create a runner linked to the current user. Returns: runner ID, authentication token, and token expiry. See also: user.me, user.create_current_user_pat.

  • Meta-herramienta: gitlab_user, acción create_runner
  • Herramienta individual: gitlab_create_user_runner
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
runner_typestring (instance_type, group_type, project_type)síRunner scope: instance_type (shared), group_type (requires group_id), or project_type (requires project_id).
access_levelstringnoAccess level: not_protected or ref_protected
descriptionstringnoRunner description
group_idintegernoGroup ID (required for group_type runners)
lockedbooleannoWhether the runner should be locked
maintenance_notestringnoMaintenance note for the runner
maximum_timeoutintegernoMaximum timeout for jobs in seconds
pausedbooleannoWhether the runner should be paused
project_idintegernoProject ID (required for project_type runners)
run_untaggedbooleannoWhether the runner can run untagged jobs
tag_liststring[]noList of runner tags

Create an instance-level service account. Returns: the created service account with ID, username, name, and email. Requires admin token. See also: user.list_service_accounts, user.update_service_account.

  • Meta-herramienta: gitlab_user, acción create_service_account
  • Herramienta individual: gitlab_create_service_account
  • Nivel: Free
  • Comportamiento: escribe, no idempotente
ParámetroTipoRequeridoDescripción
emailstringnoEmail for the service account
namestringnoName for the service account
usernamestringnoUsername for the service account

Get the current authenticated user. Returns: account ID, username, name, state, avatar URL, and profile metadata. See also: user.list, user.current_user_status, user.emails.

  • Meta-herramienta: gitlab_user, acción current
  • Herramienta individual: gitlab_user_current
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente

Sin parámetros.

Get the current user’s status. Returns: emoji, message, availability, and clear-status time. See also: user.set_status, user.get_status, user.me.

  • Meta-herramienta: gitlab_user, acción current_user_status
  • Herramienta individual: gitlab_current_user_status
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente

Sin parámetros.

Deactivate an active user. Returns: confirmation with the user ID and action. Reversible via user.activate. See also: user.activate, user.block, user.get.

  • Meta-herramienta: gitlab_user, acción deactivate
  • Herramienta individual: gitlab_deactivate_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Delete a user account. Returns: confirmation with the deleted user ID. Requires admin token. See also: user.get, user.block, user.associations_count.

  • Meta-herramienta: gitlab_user, acción delete
  • Herramienta individual: gitlab_delete_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user to delete

Delete an email address from the authenticated user’s account. Returns: a confirmation naming the deleted email ID. See also: user.get_email, user.add_email, user.delete_email_for_user.

  • Meta-herramienta: gitlab_user, acción delete_email
  • Herramienta individual: gitlab_delete_email
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
email_idintegersíEmail ID to delete

Delete an email address from a specific user’s account (admin only). Returns: a confirmation naming the deleted email ID. See also: user.emails_for_user, user.add_email_for_user, user.delete_email.

  • Meta-herramienta: gitlab_user, acción delete_email_for_user
  • Herramienta individual: gitlab_delete_email_for_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
email_idintegersíEmail ID to delete
user_idintegersíGitLab user ID

Delete a GPG key from the authenticated user’s account. Returns: a confirmation naming the deleted key ID. See also: user.gpg_keys, user.get_gpg_key, user.add_gpg_key, user.delete_gpg_key_for_user.

  • Meta-herramienta: gitlab_user, acción delete_gpg_key
  • Herramienta individual: gitlab_delete_gpg_key
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the GPG key to delete

Delete a GPG key from a specific user’s account (admin only). Returns: a confirmation naming the deleted key ID. See also: user.gpg_keys_for_user, user.get_gpg_key_for_user, user.add_gpg_key_for_user, user.delete_gpg_key.

  • Meta-herramienta: gitlab_user, acción delete_gpg_key_for_user
  • Herramienta individual: gitlab_delete_gpg_key_for_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the GPG key to delete
user_idintegersíThe ID of the user

Delete a user’s external identity. Returns: confirmation with user ID and provider. Requires admin token. See also: user.get, user.modify.

  • Meta-herramienta: gitlab_user, acción delete_identity
  • Herramienta individual: gitlab_delete_user_identity
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
providerstringsíThe external provider name (e.g. ldap or saml)
user_idintegersíThe ID of the user

Delete one of the current user’s SSH keys. Returns: confirmation with the deleted key ID. See also: user.ssh_keys, user.get_ssh_key, user.add_ssh_key.

  • Meta-herramienta: gitlab_user, acción delete_ssh_key
  • Herramienta individual: gitlab_delete_ssh_key
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the SSH key to delete

Delete a specific user’s SSH key. Returns: confirmation with the deleted key ID. Requires admin token. See also: user.ssh_keys_for_user, user.get_ssh_key_for_user, user.add_ssh_key_for_user.

  • Meta-herramienta: gitlab_user, acción delete_ssh_key_for_user
  • Herramienta individual: gitlab_delete_ssh_key_for_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the SSH key to delete
user_idintegersíThe ID of the user

Disable 2FA for a user. Returns: confirmation with the user ID and action. See also: user.get, user.modify.

  • Meta-herramienta: gitlab_user, acción disable_two_factor
  • Herramienta individual: gitlab_disable_two_factor
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

List the current user’s email addresses. Returns: email entries with ID, address, and confirmation time, with pagination metadata. See also: user.me, user.modify.

  • Meta-herramienta: gitlab_user, acción emails
  • Herramienta individual: gitlab_list_emails
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.

List the email addresses registered to a specific user account. Returns: each email’s ID, address, and confirmation timestamp, with pagination metadata. See also: user.get_email, user.add_email_for_user, user.delete_email_for_user, user.get.

  • Meta-herramienta: gitlab_user, acción emails_for_user
  • Herramienta individual: gitlab_list_emails_for_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort direction for ordered results: asc or desc
user_idintegernoGitLab user ID

List the current user’s contribution events. Returns: each event with action_name, target type and IID, push_data, embedded note, author object, created timestamp, and pagination metadata. See also: user.event_list_project, user.get.

  • Meta-herramienta: gitlab_user, acción event_list_contributions
  • Herramienta individual: gitlab_user_contribution_event_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
actionstring (created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred)noFilter by event action, one of created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred. Any other value is refused before the request, since GitLab would ignore it and answer every event.
afterstringnoReturn events after this date (YYYY-MM-DD)
beforestringnoReturn events before this date (YYYY-MM-DD)
order_bystringnoColumn by which to order keyset-paginated results (id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
scopestringnoInclude events from all projects (all) or only user’s projects
sortstring (asc, desc)noSort order (asc or desc)
target_typestring (issue, milestone, merge_request, note, project, snippet, user, wiki, design)noFilter by event target type, one of issue, milestone, merge_request, note, project, snippet, user, wiki, design. GitLab refuses any other value, epic included. Responses spell the type in model form (Issue, MergeRequest, WikiPage::Meta, DesignManagement::Design), which a filter does not accept.

List a project’s visible activity events. Returns: each event with action_name, target type and IID, push_data, embedded note with author, data (ref, commits, repository), author object, created timestamp, and pagination metadata. See also: user.event_list_contributions, project.get.

  • Meta-herramienta: gitlab_user, acción event_list_project
  • Herramienta individual: gitlab_project_event_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
actionstring (created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred)noFilter by event action, one of created, updated, closed, reopened, pushed, commented, merged, joined, left, destroyed, expired, approved, transferred. Any other value is refused before the request, since GitLab would ignore it and answer every event.
afterstringnoReturn events after this date (YYYY-MM-DD)
beforestringnoReturn events before this date (YYYY-MM-DD)
order_bystringnoColumn by which to order keyset-paginated results (id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order (asc or desc, default desc)
target_typestring (issue, milestone, merge_request, note, project, snippet, user, wiki, design)noFilter by event target type, one of issue, milestone, merge_request, note, project, snippet, user, wiki, design. GitLab refuses any other value, epic included. Responses spell the type in model form (Issue, MergeRequest, WikiPage::Meta, DesignManagement::Design), which a filter does not accept.

Get one user by ID. Returns: detailed account profile metadata and status fields. See also: user.list, user.modify, user.delete.

  • Meta-herramienta: gitlab_user, acción get
  • Herramienta individual: gitlab_get_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user to retrieve
with_custom_attributesbooleannoInclude custom attributes in the response (admin only)

Get one email address from the authenticated user’s account by ID. Returns: the email’s ID, address, and confirmation timestamp. See also: user.add_email, user.delete_email, user.emails_for_user.

  • Meta-herramienta: gitlab_user, acción get_email
  • Herramienta individual: gitlab_get_email
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
email_idintegernoEmail ID to retrieve

Get one GPG key from the authenticated user’s account by ID. Returns: the key’s ID, armored public key, and creation timestamp. See also: user.gpg_keys, user.add_gpg_key, user.delete_gpg_key.

  • Meta-herramienta: gitlab_user, acción get_gpg_key
  • Herramienta individual: gitlab_get_gpg_key
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the GPG key

Get one GPG key from a specific user’s account by ID. Returns: the key’s ID, armored public key, and creation timestamp. See also: user.gpg_keys_for_user, user.add_gpg_key_for_user, user.delete_gpg_key_for_user, user.get.

  • Meta-herramienta: gitlab_user, acción get_gpg_key_for_user
  • Herramienta individual: gitlab_get_gpg_key_for_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the GPG key
user_idintegersíThe ID of the user

Get a single impersonation token for a user by token id. Returns: the token’s id, name, active flag, scopes, revoked flag, created_at, expires_at, and last_used_at. See also: user.list_impersonation_tokens, user.revoke_impersonation_token.

  • Meta-herramienta: gitlab_user, acción get_impersonation_token
  • Herramienta individual: gitlab_get_impersonation_token
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
token_idintegersíImpersonation token ID
user_idintegersíGitLab user ID

Get one of the current user’s SSH keys by ID. Returns: key ID, title, public key, usage type, and expiry. See also: user.ssh_keys, user.add_ssh_key, user.delete_ssh_key.

  • Meta-herramienta: gitlab_user, acción get_ssh_key
  • Herramienta individual: gitlab_get_ssh_key
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the SSH key

Get a specific user’s SSH key by ID. Returns: key ID, title, public key, usage type, and expiry. See also: user.ssh_keys_for_user, user.add_ssh_key_for_user, user.delete_ssh_key_for_user.

  • Meta-herramienta: gitlab_user, acción get_ssh_key_for_user
  • Herramienta individual: gitlab_get_ssh_key_for_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíThe ID of the SSH key
user_idintegersíThe ID of the user

Get a user’s status by ID. Returns: emoji, message, availability, and clear-status time. See also: user.current_user_status, user.set_status, user.get.

  • Meta-herramienta: gitlab_user, acción get_status
  • Herramienta individual: gitlab_get_user_status
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user whose status to retrieve

List the authenticated user’s GPG keys. Returns: each key’s ID, armored public key, and creation timestamp, with pagination metadata. See also: user.get_gpg_key, user.add_gpg_key, user.delete_gpg_key, user.gpg_keys_for_user.

  • Meta-herramienta: gitlab_user, acción gpg_keys
  • Herramienta individual: gitlab_list_gpg_keys
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.

List a specific user’s GPG keys. Returns: each key’s ID, armored public key, and creation timestamp, with pagination metadata. See also: user.get_gpg_key_for_user, user.add_gpg_key_for_user, user.delete_gpg_key_for_user, user.get.

  • Meta-herramienta: gitlab_user, acción gpg_keys_for_user
  • Herramienta individual: gitlab_list_gpg_keys_for_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.

Look up an SSH key or deploy key by fingerprint and return the owning user. Returns: the key ID, title, public key, creation time, and the owning user (ID, username, name). See also: user.get_ssh_key, user.ssh_keys, user.ssh_keys_for_user.

  • Meta-herramienta: gitlab_user, acción key_get_by_fingerprint
  • Herramienta individual: gitlab_get_key_by_fingerprint
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
fingerprintstringsíSSH key fingerprint, either the SHA256 form (for example SHA256:abc123) or the legacy MD5 hex-pair form (for example MD5:aa:bb:cc)

Look up an SSH key by its global ID and return the owning user. Returns: the key ID, title, public key, creation time, and the owning user (ID, username, name). See also: user.get_ssh_key, user.ssh_keys, user.ssh_keys_for_user.

  • Meta-herramienta: gitlab_user, acción key_get_with_user
  • Herramienta individual: gitlab_get_key_with_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
key_idintegersíSSH key ID

List users with filtering and pagination support. Returns: user summaries including ID, username, name, state, and profile URLs. See also: user.get, user.me, user.create.

  • Meta-herramienta: gitlab_user, acción list
  • Herramienta individual: gitlab_list_users
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
activebooleannoFilter for active users only
adminsbooleannoFilter for administrators only
blockedbooleannoFilter for blocked users only
created_afterstringnoFilter users created after this date (RFC3339)
created_beforestringnoFilter users created before this date (RFC3339)
custom_attributesobjectnoFilter users by custom attribute key/value pairs (admin only). Different from with_custom_attributes, which only controls whether attributes are returned
exclude_activebooleannoExclude active users from the result
exclude_externalbooleannoExclude external users from the result
exclude_humansbooleannoExclude human users from the result
exclude_internalbooleannoExclude internal (bot/system) users from the result
extern_uidstringnoFilter by external UID (use with provider)
externalbooleannoFilter for external users only
humansbooleannoFilter for human (non-bot, non-internal) users only
order_bystring (id, name, username, created_at, updated_at)noOrder users by: id, name, username, created_at, or updated_at.
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
providerstringnoFilter by external provider name (use with extern_uid)
public_emailstringnoFilter by exact public email address
searchstringnoSearch users by name or username or email
sortstring (asc, desc)noSort order: asc or desc
two_factorstring (enabled, disabled)noFilter by two-factor authentication status: enabled or disabled.
usernamestringnoFilter by exact username
with_custom_attributesbooleannoInclude custom attributes in the response (admin only)
without_project_botsbooleannoExclude project bot users from the result
without_projectsbooleannoFilter for users without any projects

List the impersonation tokens of a user. Returns: each token’s id, name, active flag, scopes, revoked flag, created_at, expires_at, and last_used_at, with pagination metadata. See also: user.get_impersonation_token, user.create_impersonation_token, user.revoke_impersonation_token.

  • Meta-herramienta: gitlab_user, acción list_impersonation_tokens
  • Herramienta individual: gitlab_list_impersonation_tokens
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíGitLab user ID
order_bystringnoColumn to order keyset-paginated results by
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order for keyset pagination: ‘asc’ or ‘desc’
statestring (all, active, inactive)noFilter by state: all, active, or inactive

List instance-level service accounts. Returns: service account summaries with ID, username, name, and email, with pagination metadata. Requires admin token. See also: user.create_service_account, user.update_service_account.

  • Meta-herramienta: gitlab_user, acción list_service_accounts
  • Herramienta individual: gitlab_list_service_accounts
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
order_bystring (id, username)noField to order by: id (default) or username
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort direction (asc/desc)

Get the current authenticated user. Returns: account ID, username, name, state, avatar URL, and profile metadata. See also: user.list, user.current_user_status, user.emails.

  • Meta-herramienta: gitlab_user, acción me
  • Herramienta individual: gitlab_user_current
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente

Sin parámetros.

List a user’s memberships. Returns: source ID, name, type, and access level per membership. See also: user.get, user.associations_count, user.activities.

  • Meta-herramienta: gitlab_user, acción memberships
  • Herramienta individual: gitlab_get_user_memberships
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order for keyset pagination: asc or desc
typestring (Project, Namespace)noMembership type filter: Project (project memberships) or Namespace (group memberships).

Modify an existing user. Returns: the updated user profile metadata. See also: user.get, user.create, user.delete.

  • Meta-herramienta: gitlab_user, acción modify
  • Herramienta individual: gitlab_modify_user
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user to modify
adminbooleannoGrant or revoke admin privileges
auditor (Premium)booleannoGrant or revoke auditor privileges (Premium/Ultimate)
biostringnoNew bio text
can_create_groupbooleannoAllow user to create groups
commit_emailstringnoEmail used for commits
emailstringnoNew email address
extern_uidstringnoExternal UID for the provider
externalbooleannoMark or unmark as external
job_titlestringnoNew job title
linkedinstringnoLinkedIn account
locationstringnoNew location
namestringnoNew display name
notestringnoNew admin note
organizationstringnoNew organization
passwordstringnoNew password
private_profilebooleannoSet profile as private
projects_limitintegernoNew maximum projects limit
providerstringnoExternal provider name (use with extern_uid)
public_emailstringnoPublicly visible email address
skip_reconfirmationbooleannoSkip reconfirmation on email change
theme_idintegernoGitLab theme ID for the user’s UI
twitterstringnoTwitter/X account
usernamestringnoNew username
view_diffs_file_by_filebooleannoShow whitespace changes in diffs file by file
website_urlstringnoUser website URL

Check whether a namespace path is taken. Returns: an exists flag and suggested alternative paths when the path is unavailable. See also: user.namespace_get, user.namespace_search.

  • Meta-herramienta: gitlab_user, acción namespace_exists
  • Herramienta individual: gitlab_namespace_exists
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
idstringsíNamespace path to check for existence
parent_idintegernoParent namespace ID to scope the check

Get a single namespace by ID or path. Returns: the namespace with id, name, path, kind, full path, parent id, plan, trial state, and seat usage. See also: user.namespace_list, user.namespace_search.

  • Meta-herramienta: gitlab_user, acción namespace_get
  • Herramienta individual: gitlab_namespace_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
idstringsíNamespace ID or path

List namespaces visible to the authenticated user. Returns: matching namespaces with id, name, path, kind, plan, seat usage, and pagination metadata. See also: user.namespace_get, user.namespace_search, group.list.

  • Meta-herramienta: gitlab_user, acción namespace_list
  • Herramienta individual: gitlab_namespace_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
owned_onlybooleannoIf true return only namespaces owned by the authenticated user
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
searchstringnoFilter namespaces by search term
sortstring (asc, desc)noSort direction for keyset-paginated results (asc, desc)
top_level_onlybooleannoIf true return only top-level namespaces

Search namespaces by name or path. Returns: matching namespaces with id, name, path, kind, and pagination metadata. See also: user.namespace_list, user.namespace_get.

  • Meta-herramienta: gitlab_user, acción namespace_search
  • Herramienta individual: gitlab_namespace_search
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
querystringsíSearch query string for namespaces

Get the authenticated user’s global notification settings. Returns: the global notification level, notification email, and the per-event flags (issue, merge request, pipeline, note, and epic events) when the level is custom. See also: user.notification_global_update, user.notification_project_get, user.notification_group_get.

  • Meta-herramienta: gitlab_user, acción notification_global_get
  • Herramienta individual: gitlab_notification_global_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente

Sin parámetros.

Update the authenticated user’s global notification settings. Returns: the updated global notification level, notification email, and per-event flags. See also: user.notification_global_get, user.notification_project_update, user.notification_group_update.

  • Meta-herramienta: gitlab_user, acción notification_global_update
  • Herramienta individual: gitlab_notification_global_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
close_issuebooleannoNotify on issue close
close_merge_requestbooleannoNotify on MR close
failed_pipelinebooleannoNotify on pipeline failure
fixed_pipelinebooleannoNotify on pipeline fix
issue_duebooleannoNotify on issue due date
levelstring (disabled, participating, watch, mention, custom)noNotification level: disabled, participating, watch, mention, custom
merge_merge_requestbooleannoNotify on MR merge
merge_when_pipeline_succeedsbooleannoNotify on merge when pipeline succeeds
moved_projectbooleannoNotify on project move
new_epicbooleannoNotify on new epic
new_issuebooleannoNotify on new issue
new_merge_requestbooleannoNotify on new MR
new_notebooleannoNotify on new note
notification_emailstringnoEmail address for notifications
push_to_merge_requestbooleannoNotify on push to MR
reassign_issuebooleannoNotify on issue reassign
reassign_merge_requestbooleannoNotify on MR reassign
reopen_issuebooleannoNotify on issue reopen
reopen_merge_requestbooleannoNotify on MR reopen
success_pipelinebooleannoNotify on pipeline success

Get the authenticated user’s notification settings for a group. Returns: the group notification level, notification email, and per-event flags when the level is custom. See also: user.notification_group_update, user.notification_global_get, user.notification_project_get.

  • Meta-herramienta: gitlab_user, acción notification_group_get
  • Herramienta individual: gitlab_notification_group_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
group_idstring/integersíGroup ID or URL-encoded path

Update the authenticated user’s notification settings for a group. Returns: the updated group notification level, notification email, and per-event flags. See also: user.notification_group_get, user.notification_global_update, user.notification_project_update.

  • Meta-herramienta: gitlab_user, acción notification_group_update
  • Herramienta individual: gitlab_notification_group_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
group_idstring/integersíGroup ID or URL-encoded path
close_issuebooleannoNotify on issue close
close_merge_requestbooleannoNotify on MR close
failed_pipelinebooleannoNotify on pipeline failure
fixed_pipelinebooleannoNotify on pipeline fix
issue_duebooleannoNotify on issue due date
levelstring (disabled, participating, watch, global, mention, custom)noNotification level: disabled, participating, watch, global, mention, custom
merge_merge_requestbooleannoNotify on MR merge
merge_when_pipeline_succeedsbooleannoNotify on merge when pipeline succeeds
moved_projectbooleannoNotify on project move
new_epicbooleannoNotify on new epic
new_issuebooleannoNotify on new issue
new_merge_requestbooleannoNotify on new MR
new_notebooleannoNotify on new note
notification_emailstringnoEmail address for notifications
push_to_merge_requestbooleannoNotify on push to MR
reassign_issuebooleannoNotify on issue reassign
reassign_merge_requestbooleannoNotify on MR reassign
reopen_issuebooleannoNotify on issue reopen
reopen_merge_requestbooleannoNotify on MR reopen
success_pipelinebooleannoNotify on pipeline success

Get the authenticated user’s notification settings for a project. Returns: the project notification level, notification email, and per-event flags when the level is custom. See also: user.notification_project_update, user.notification_global_get, user.notification_group_get.

  • Meta-herramienta: gitlab_user, acción notification_project_get
  • Herramienta individual: gitlab_notification_project_get
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path

Update the authenticated user’s notification settings for a project. Returns: the updated project notification level, notification email, and per-event flags. See also: user.notification_project_get, user.notification_global_update, user.notification_group_update.

  • Meta-herramienta: gitlab_user, acción notification_project_update
  • Herramienta individual: gitlab_notification_project_update
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
project_idstring/integersíProject ID or URL-encoded path
close_issuebooleannoNotify on issue close
close_merge_requestbooleannoNotify on MR close
failed_pipelinebooleannoNotify on pipeline failure
fixed_pipelinebooleannoNotify on pipeline fix
issue_duebooleannoNotify on issue due date
levelstring (disabled, participating, watch, global, mention, custom)noNotification level: disabled, participating, watch, global, mention, custom
merge_merge_requestbooleannoNotify on MR merge
merge_when_pipeline_succeedsbooleannoNotify on merge when pipeline succeeds
moved_projectbooleannoNotify on project move
new_epicbooleannoNotify on new epic
new_issuebooleannoNotify on new issue
new_merge_requestbooleannoNotify on new MR
new_notebooleannoNotify on new note
notification_emailstringnoEmail address for notifications
push_to_merge_requestbooleannoNotify on push to MR
reassign_issuebooleannoNotify on issue reassign
reassign_merge_requestbooleannoNotify on MR reassign
reopen_issuebooleannoNotify on issue reopen
reopen_merge_requestbooleannoNotify on MR reopen
success_pipelinebooleannoNotify on pipeline success

Reject a pending user sign-up. Returns: confirmation with the user ID and action. Permanently deletes the pending user. See also: user.approve, user.get, user.list.

  • Meta-herramienta: gitlab_user, acción reject
  • Herramienta individual: gitlab_reject_user
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Revoke an impersonation token for a user by token id. Returns: a confirmation naming the user_id and token_id with the revoked flag set. See also: user.list_impersonation_tokens, user.get_impersonation_token.

  • Meta-herramienta: gitlab_user, acción revoke_impersonation_token
  • Herramienta individual: gitlab_revoke_impersonation_token
  • Nivel: Free
  • Comportamiento: escribe, destructiva (necesita confirmación), idempotente
ParámetroTipoRequeridoDescripción
token_idintegersíImpersonation token ID to revoke
user_idintegersíGitLab user ID

Set the current user’s status. Returns: the updated emoji, message, availability, and clear-status time. See also: user.current_user_status, user.get_status.

  • Meta-herramienta: gitlab_user, acción set_status
  • Herramienta individual: gitlab_set_user_status
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
availabilitystring (not_set, busy)noUser availability: not_set (clear busy state) or busy.
clear_status_afterstring (30_minutes, 3_hours, 8_hours, 1_day, 3_days, 7_days, 30_days)noDuration after which the status auto-clears: 30_minutes, 3_hours, 8_hours, 1_day, 3_days, 7_days, or 30_days.
emojistringnoThe emoji to set for the status (e.g. coffee or speech_balloon)
messagestringnoThe status message text

List the current user’s SSH keys. Returns: key summaries with ID, title, fingerprint, usage type, and expiry. See also: user.get_ssh_key, user.add_ssh_key, user.delete_ssh_key.

  • Meta-herramienta: gitlab_user, acción ssh_keys
  • Herramienta individual: gitlab_list_ssh_keys
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order for keyset pagination: asc or desc

List a specific user’s SSH keys. Returns: key summaries with ID, title, fingerprint, usage type, and expiry. See also: user.get_ssh_key_for_user, user.add_ssh_key_for_user, user.delete_ssh_key_for_user.

  • Meta-herramienta: gitlab_user, acción ssh_keys_for_user
  • Herramienta individual: gitlab_list_ssh_keys_for_user
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user
order_bystringnoColumn to order keyset-paginated results by (e.g. id)
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
sortstring (asc, desc)noSort order for keyset pagination: asc or desc

List the authenticated user’s to-do items with optional filtering and pagination. Returns: to-do items with action, target object, project, author, state, and pagination metadata. See also: user.todo_mark_done, user.todo_mark_all_done.

  • Meta-herramienta: gitlab_user, acción todo_list
  • Herramienta individual: gitlab_todo_list
  • Nivel: Free
  • Comportamiento: solo lectura, idempotente
ParámetroTipoRequeridoDescripción
actionstring (assigned, review_requested, mentioned, build_failed, marked, approval_required, unmergeable, directly_addressed, member_access_requested, review_submitted, ssh_key_expired, ssh_key_expiring_soon, transfer_failed, merge_train_removed, okr_checkin_requested, added_approver, duo_pro_access_granted, duo_enterprise_access_granted, duo_core_access_granted, duo_workflow_input_required)noFilter by action, for example assigned, mentioned, review_requested, build_failed or transfer_failed (a project or group transfer GitLab failed in the background)
author_idintegernoFilter by author user ID
group_idintegernoFilter by group ID
order_bystringnoOrder results by field (e.g. id, created_at). Combine with sort.
pageintegernoPage number to fetch, 1-based. Defaults to 1. Use the next_page field from the previous response to paginate forward.
page_tokenstringnoKeyset pagination cursor: record id at which to fetch the next page, taken from the previous keyset response. Only used when pagination=‘keyset’.
paginationstringnoPagination method: ‘keyset’ for keyset-based pagination on large ordered result sets, or ‘offset’ (the default). Keyset avoids deep-offset cost.
per_pageintegernoItems per page. Defaults to 20, minimum 1, maximum 100. Use 100 to minimize round trips when the result set is large.
project_idintegernoFilter by project ID
sortstring (asc, desc)noSort direction: asc or desc.
statestring (pending, done)noFilter by state: pending or done (default: pending)
typestring (Commit, Issue, WorkItem, MergeRequest, DesignManagement::Design, AlertManagement::Alert, Namespace, Project, Key, WikiPage::Meta, Epic, Vulnerability, User, ComplianceManagement::Projects::ComplianceViolation, Ai::DuoWorkflows::Workflow)noFilter by target type, for example Issue, MergeRequest, Commit, Epic, Project or Namespace (a group)

Mark all pending to-do items as done. Returns: a confirmation that all items were cleared. See also: user.todo_list, user.todo_mark_done.

  • Meta-herramienta: gitlab_user, acción todo_mark_all_done
  • Herramienta individual: gitlab_todo_mark_all_done
  • Nivel: Free
  • Comportamiento: escribe, idempotente

Sin parámetros.

Mark a single to-do item as done. Returns: a confirmation naming the to-do item ID. See also: user.todo_list, user.todo_mark_all_done.

  • Meta-herramienta: gitlab_user, acción todo_mark_done
  • Herramienta individual: gitlab_todo_mark_done
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
idintegersíID of the to-do item to mark as done

Unban a previously banned user. Returns: confirmation with the user ID and action. See also: user.ban, user.unblock, user.get.

  • Meta-herramienta: gitlab_user, acción unban
  • Herramienta individual: gitlab_unban_user
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Unblock a previously blocked user. Returns: confirmation with the user ID and action. See also: user.block, user.activate, user.get.

  • Meta-herramienta: gitlab_user, acción unblock
  • Herramienta individual: gitlab_unblock_user
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
user_idintegersíThe ID of the user

Update an instance-level service account. Returns: updated service account object including email and unconfirmed_email. Requires admin token. See also: user.create_service_account, user.list_service_accounts.

  • Meta-herramienta: gitlab_user, acción update_service_account
  • Herramienta individual: gitlab_update_instance_service_account
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
service_account_idintegersíService account ID to update
emailstringnoNew email for the service account
namestringnoNew name for the service account
usernamestringnoNew username for the service account

Upload the current user’s avatar. Returns: the updated user profile including the new avatar URL. GitLab 19 responds with only avatar_url, so other profile fields (including id) may be empty. Use user.current for the full profile. Provide filename and exactly one of file_path or content_base64. See also: user.me, user.modify.

  • Meta-herramienta: gitlab_user, acción upload_avatar
  • Herramienta individual: gitlab_upload_user_avatar
  • Nivel: Free
  • Comportamiento: escribe, idempotente
ParámetroTipoRequeridoDescripción
filenamestringsíAvatar filename (e.g. avatar.png)
content_base64stringnoBase64-encoded image content. Only one of file_path or content_base64 should be provided.
file_pathstringnoAbsolute path to a local image file on the MCP server filesystem. Alternative to content_base64 for files too large to base64-encode. Only one of file_path or content_base64 should be provided.