GitLab API

GitlabTool

Actions1095

User → postApiV4UserGpgKeysKeyIdRevoke

AI-generated

Summary

Revokes the specified GPG key for the authenticated GitLab user by calling /api/v4/user/gpg_keys/{key_id}/revoke. The path uses the required GPG key ID; the request method is configurable and defaults to GET, while the operation path is fixed.

Inputs

  • Key_id (required) — ID of the GPG key to revoke, supplied as the key_id path parameter.
  • Skip Authentication — Defaults to false. When enabled, skips the GitLab API credential; otherwise the node requires GitLab API authentication.
  • baseUrl — Base URL for the request; defaults to https://gitlab.com. The node source notes that the actual base URL is defined in the GitLab API credential.
  • Method — HTTP method for the request. Defaults to GET; options are GET, POST, PUT, DELETE, HEAD, and PATCH.

Output shape

A single API response item.

The source delegates request execution and response shaping to the shared OpenApiToolNode implementation; this operation's source does not specify response fields.

Links

Discussion