PATCH
/
api
/
v1
/
ssh_keys
/
{key_id}
Set Primary Key
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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

key_id
string
required

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.