Add

  • POST
  • /user
  • /keys

Registers a new public SSH key for the authorized user.

Hint
This resource is limited to 10 requests per hour.

Request

REQUIRED SCOPES
USER_KEY
POST PARAMETERS
contentrequired string
The unique contents of the public SSH key. Located by default in ~/.ssh/id_rsa.pub.
titleoptional string
The title of the key.

Last modified on Sep 23, 2024

{
  "content": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCG0Ug3U8DoJ6+z36D2h2+oc4UoQRihLNGcAO9SHglFXp+dn1aGJrqeoOrmo4bj5AcydjY33Ylm7ixZEe85vD5INCeldMd8JGmZTj57mwzqpKXFrag+/v9F9qmSEPxKZ1cQj7Q/nRi/hJIoJbsxymrxWhdJZnDNeqwdusR78Xkftw== mike@mike-Macmini"
}
{
  "url": "https://api.buddy.works/user/keys/1",
  "html_url": "https://app.buddy.works/my-id",
  "id": 1,
  "title": " mike@mike-Macmini",
  "content": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCG0Ug3U8DoJ6+z36D2h2+oc4UoQRihLNGcAO9SHglFXp+dn1aGJrqeoOrmo4bj5AcydjY33Ylm7ixZEe85vD5INCeldMd8JGmZTj57mwzqpKXFrag+/v9F9qmSEPxKZ1cQj7Q/nRi/hJIoJbsxymrxWhdJZnDNeqwdusR78Xkftw== mike@mike-Macmini"
}