Add an SSH-key to a specific app
Add an SSH-key to a specific app. After creating an app, you need to register the SSH key so that Bitrise will be able to access and clone your repository during the build process. This requires the app slug of your newly created app.
POST
/apps/{app-slug}/register-ssh-key
curl \
--request POST 'https://api.bitrise.io/v0.1/apps/{app-slug}/register-ssh-key' \
--header "Authorization: $API_KEY" \
--data '{"auth_ssh_private_key":"string","auth_ssh_public_key":"string","is_register_key_into_provider_service":true}'
Request examples
{
"auth_ssh_private_key": "string",
"auth_ssh_public_key": "string",
"is_register_key_into_provider_service": true
}
Response examples (200)
{
"status": "string"
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}