Revoke a GPG key for a user.
POST
/api/v4/users/{id}/gpg_keys/{key_id}/revoke
Deletes a GPG key from a specified user account. Administrators only.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The ID of the user
key_id
required
integer
The ID of the GPG key
Responses
Section titled “Responses”Accepted
Bad Request
Not Found