cURL
curl --request POST \ --url https://api.example.com/v1/ssh_keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "key": "<string>" } '
{ "id": "<string>", "name": "<string>", "key": "<string>", "created_at": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SSH Key name
1 - 64
SSH Key content
1 - 32000
Successful Response
SSH Key ID
1