GPG
Signing and Encryption (GnuPG Keys)
Delete GnuPG key pair
This function deletes a GnuPG (GPG) key pair.
get/GPG/delete_keypair
Query parameters
key_idstring required
Example:ACFFDB37176B680D
The ID of the GPG key that you wish to delete.
Note:
- The function will delete all keys that match this ID.
- If you set this parameter to a public key, the function will delete the public key.
- If you set this parameter to a public and private key pair, the function will delete the public and private keys.
- To obtain the desired key, call the UAPI GPG::list_secret_keys function.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "delete_keypair",
"module": "GPG",
"result": {
"status": 1
}
}