PATCH
/
api
/
v1
/
ssh_keys
/
{key_id}
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
isPrimary
boolean | null

Whether to set the key as the primary key. Must be true when provided.

Response

200
application/json

Successful Response

message
string
required
updated_fields
object
required
PATCH
/
api
/
v1
/
ssh_keys
/
{key_id}
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
isPrimary
boolean | null

Whether to set the key as the primary key. Must be true when provided.

Response

200
application/json

Successful Response

message
string
required
updated_fields
object
required