GitLab API

GitlabTool

Actions1095

Users → getApiV4UsersIdGpgKeys

AI-generated

Summary

Retrieves the GPG keys associated with a GitLab user via GET /api/v4/users/{id}/gpg_keys. Supply the user ID; optional pagination parameters select the page and number of results.

Inputs

  • Skip Authentication — When enabled, skips GitLab API authentication; otherwise the GitLab API credential is used.
  • Base URL — GitLab instance URL; defaults to https://gitlab.com. The source notes that the credential defines the base URL.
  • Method — HTTP method selector; defaults to GET.
  • Id (required) — ID of the user whose GPG keys to retrieve.
  • Page — Current result page; the API schema default is 1.
  • Per_page — Number of results per page; the API schema default is 20.

Output shape

A list of the user's GPG keys.

The properties declare a paginated API request. The source pack does not include the endpoint implementation or specify the returned item fields.

Links

Discussion