Delete
Delete an SSH Key
gpu_droplets.account.keys.delete(Union[int, str]ssh_key_identifier)
/v2/account/keys/{ssh_key_identifier}
To destroy a public SSH key that you have in your account, send a DELETE request to /v2/account/keys/$KEY_ID
or /v2/account/keys/$KEY_FINGERPRINT
.
A 204 status will be returned, indicating that the action was successful and that the response body is empty.
Parameters
Delete an SSH Key
from gradient import Gradient
client = Gradient()
client.gpu_droplets.account.keys.delete(
512189,
)