all content, endpoints, and code provided by this API are licensed under the GNU Affero General Public License v3 (AGPL-3.0).
By accessing or using this API, you agree to comply with the terms of the AGPLv3.
For more details, please read the full license at GNU AGPLv3.
Authorization: ********************{
"name": "my-laptop",
"public_key": "ssh-rsa AAAAB3NzaC1..."
}curl --location --request POST '/api/me/sshkey/add' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "my-laptop",
"public_key": "ssh-rsa AAAAB3NzaC1..."
}'{
"code": 200,
"message": "success",
"data": null
}