cURL
curl --request POST \ --url https://api.primeintellect.ai/api/v1/ssh_keys/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "publicKey": "<string>" }'
{ "id": "<string>", "userId": "<string>", "name": "<string>", "publicKey": "<string>", "isPrimary": true, "isUserKey": true, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object