Delete an SSH key

Deletes an SSH Key you have access to.

📘

This operation only deletes a key's association from your profile. It doesn't remove it from any Linode or disk that was deployed with authorized_keys. You need to manually delete the key on the Linode or disk.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: delete_profile_ssh_key
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_write

CLI

linode-cli sshkeys delete 42

Learn more

Language
Credentials