GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersUserIdKeys

AI-generated

Summary

Creates a GitLab user SSH key by sending a request to /api/v4/users/{user_id}/keys. The configured HTTP method defaults to GET, so select POST to perform the key-creation operation.

Inputs

  • Skip Authentication — Defaults to false. When enabled, hides the GitLab API authentication setting; the node otherwise declares GitLab API credentials as required.
  • Base URL — Defaults to https://gitlab.com; the source indicates the actual base URL is defined by the GitLab API credential.
  • Method — HTTP method for the request. Defaults to GET; choose POST to create the key.
  • User_id (required) — ID of the user whose SSH key is being created.
  • Request body (required) — The operation requires a body matching the OpenAPI schema for postApiV4UsersUserIdKeys; its fields are not exposed in the supplied operation properties.

Output shape

The response from the GitLab API as returned by the OpenAPI tool node.

The supplied source delegates request handling to OpenApiToolNode, so the exact response fields and error handling are not shown.

Links

Discussion