Update SSH key pair
Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
The repository.
Request Body required
Section titled “ Request Body required ”The created or updated SSH key pair.
object
The SSH private key. This value will be empty when retrieving the SSH key pair.
The SSH public key.
Example generated
{ "type": "example", "private_key": "example", "public_key": "example"}Responses
Section titled “ Responses ”The SSH key pair was created or updated.
object
The SSH private key. This value will be empty when retrieving the SSH key pair.
The SSH public key.
Example generated
{ "type": "example", "private_key": "example", "public_key": "example"}The account, repository or SSH key pair was not found.
Base type for most resource objects. It defines the common type element that identifies an object’s type. It also identifies the element as Swagger’s discriminator.
object
object
Optional structured data that is endpoint-specific.
object
Example generated
{ "type": "example", "error": { "message": "example", "detail": "example", "data": {} }}