GitLab API

GitlabTool

Actions1095

Users → postApiV4UsersIdGpgKeysKeyIdRevoke

AI-generated

Summary

Revokes a GPG key for a GitLab user by sending a POST request to /api/v4/users/{id}/gpg_keys/{key_id}/revoke. The request uses the configured GitLab API base URL and, unless authentication is skipped, the GitLab API credential.

Inputs

  • Skip Authentication — Defaults to false. When enabled, skips GitLab API authentication.
  • baseUrl — GitLab API base URL; defaults to https://gitlab.com. The node source says the actual base URL is defined by the GitLab API credential.
  • Path Parameters (required) — Provide id, the user ID, and key_id, the GPG key ID, for the request path.

Output shape

A single response from the GitLab API.

The operation properties do not declare a response schema, so the returned fields are unspecified.

Links

Discussion