Skip to content

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.

id
required
integer

The ID of the user

key_id
required
integer

The ID of the GPG key

Accepted

Bad Request

Not Found