Public Key

Manage user public keys.

Get my public keys

get
/me/public-keys

Get my public keys by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

OK

application/json
get
/me/public-keys

Create a public key

post
/me/public-keys

Create a public key by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
labelstring · min: 3 · max: 100Required

Public key label

Example: <label>
publicKeystring · min: 1024 · max: 16384Required

Public key

Example: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQ4QXQ...
filePathstringOptional

Public key file path

Responses
post
/me/public-keys

Get a public key

get
/me/public-keys/{publicKeyId}

Get a public key by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
publicKeyIdstringRequired

Entity ID

Pattern: ^[0-9a-fA-F]{24}$
Responses
chevron-right
200

OK

application/json
get
/me/public-keys/{publicKeyId}

Delete a public key

delete
/me/public-keys/{publicKeyId}

Delete a public key by me (logged in user)

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
publicKeyIdstringRequired

Entity ID

Pattern: ^[0-9a-fA-F]{24}$
Responses
delete
/me/public-keys/{publicKeyId}

No content

Last updated

Was this helpful?