Skip to main content
POST
Update SSH public key information

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

ssh_public_key_reference
string
required

SSH public key ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$

Body

application/json
name
string
required
public_key
string

Response

Successful response

id
string
required

ID of the SSH public key

Pattern: ^sk[0-9a-hj-km-np-tv-z]{24}$
Example:

"skaz0q3vbrpa7pkg7zbmah9csn"

name
string
required

Name of the SSH public key

public_key
string

SSH public key data