GitLab API icon

GitLab API

Gitlab

Actions1062

Users → postApiV4UsersIdGpgKeysKeyIdRevoke

AI-generated

Summary

Revokes a GPG key for a specified GitLab user.

Inputs

  • id (required) — User ID (numeric)
  • key_id (required) — GPG key ID (numeric)
  • skipAuthentication — Skip authentication (default: false)
  • authentication — Authentication method (default: gitlabApi; hidden when skipAuthentication is true)
  • baseUrl — Base URL of GitLab instance (default: https://gitlab.com)

Output shape

object

Returns the API response from GitLab confirming the revocation (typically an empty body on success).

Links

Discussion