Public Key
Manage user 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: 100RequiredExample:
Public key label
<label>publicKeystring · min: 1024 · max: 16384RequiredExample:
Public key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQ4QXQ...filePathstringOptional
Public key file path
Responses
201
Created
application/json
400
Bad Request
application/json
post
/me/public-keysGet a public key by me (logged in user)
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
publicKeyIdstringRequiredPattern:
Entity ID
^[0-9a-fA-F]{24}$Responses
200
OK
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
get
/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
publicKeyIdstringRequiredPattern:
Entity ID
^[0-9a-fA-F]{24}$Responses
204
No Content
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
delete
/me/public-keys/{publicKeyId}No content
Last updated
Was this helpful?

