Update an SSH key

Updates an SSH Key. Only SSH key labels can be updated.

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: update_profile_ssh_key
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_write

CLI

linode-cli sshkeys update 42 \
  --label "my laptop"

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the SSHKey.

Body Params

The fields to update.

string
length between 0 and 64

A label for the SSH Key.

Responses

Language
Credentials
Response
Choose an example:
application/json