cURL
curl --request PATCH \ --url https://api.primeintellect.ai/api/v1/ssh_keys/{key_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "isPrimary": true } '
{ "message": "<string>", "updated_fields": {} }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Whether to set the key as the primary key. Must be true when provided.
Successful Response