This function deletes a GnuPG (GPG) key pair.
key_id required | string The ID of the GPG key that you wish to delete. Note:
Example: key_id=ACFFDB37176B680D |
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --user=username GPG delete_keypair key_id='ACFFDB37176B680D'
{- "apiversion": 3,
- "func": "delete_keypair",
- "module": "GPG",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}