cURL
curl --request POST \ --url https://api.rigbox.dev/api/ssh-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "public_key": "<string>" } '
{ "created_at": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "public_key": "<string>", "user_id": "<string>" }
Register a new SSH public key for workspace access.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
SSH key added