GitLab API icon

GitLab API

Gitlab

Actions1062

Users → postApiV4UsersIdGpgKeys

AI-generated

Summary

Creates a GPG key for a specified GitLab user.

Inputs

  • id (required) — The ID of the user whose GPG key will be created.
  • requestBody (required) — The GPG key definition to create, as expected by the GitLab API (typically includes a 'key' string containing the public GPG key).
  • skipAuthentication — When true, the node will not use credentials; otherwise it uses the 'gitlabApi' credential.
  • baseUrl — Base URL of the GitLab instance to contact.

Output shape

object

The GPG key object returned by GitLab, containing details such as id, key, and creation timestamp.

Links

Discussion