GitLab API icon

GitLab API

Gitlab

Actions1062

Users → getApiV4UsersIdGpgKeysKeyId

AI-generated

Summary

Fetches a specific GPG key for a GitLab user by user ID and GPG key ID.

Inputs

  • id (required) — The ID of the user (integer).
  • key_id (required) — The ID of the GPG key (integer).
  • skipAuthentication — If true, skips authentication (default false).
  • baseUrl — Base URL for the GitLab instance (default https://gitlab.com).

Output shape

object

Returns the GPG key object as defined by the GitLab API.

Links

Discussion