GitLab API

GitlabTool

Actions1095

Users → getApiV4UsersIdKeysKeyId

AI-generated

Summary

Retrieves a specific SSH key for a GitLab user with a GET request to /api/v4/users/{id}/keys/{key_id}. Provide both path parameters; the base URL defaults to https://gitlab.com, and authentication can be skipped or supplied through the GitLab API credential.

Inputs

  • Skip Authentication — Defaults to false. Enable to skip the GitLab API credential; otherwise the node requires it.
  • Base URL — Defaults to https://gitlab.com. The source notes that the effective base URL is defined in the GitLab API credential.
  • Method — HTTP method selector; defaults to GET. Other declared choices are POST, PUT, DELETE, HEAD, and PATCH.
  • Path Parameters: Id (required) — The user ID.
  • Path Parameters: Key_id (required) — The SSH key ID.

Output shape

A single API response item, as returned by the OpenAPI tool node.

The operation path is /api/v4/users/{id}/keys/{key_id}. No request body schema is declared. The source pack does not show response transformation or the exact response fields.

Links

Discussion