Create a new checkout key

POST {{baseUrl}}/project/:project-slug/checkout-key

Creates a new checkout key. This API request is only usable with a user API token.

Request Body

{"type"=>"deploy-key"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"public-key":"ssh-rsa ...","type":"deploy-key","fingerprint":"c9:0b:1c:4f:d5:65:56:b9:ad:88:f9:81:2b:37:74:2f","preferred":true,"created-at":"2015-09-21T17:29:21.042Z"}