v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,21696712.2 MB
users

Delete a GPG key for the authenticated user

Removes a GPG key from the authenticated user's GitHub account.

OAuth app tokens and personal access tokens (classic) need the admin:gpg_key scope to use this endpoint.

delete/user/gpg_keys/{gpg_key_id}

Path parameters

gpg_key_idinteger required

The unique identifier of the GPG key.

Response

Response