Update a known host
Update a repository level known host.
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.
The UUID of the known host to update.
Request Body required
Section titled “ Request Body required ”The updated known host.
object
The UUID identifying the known host.
The hostname of the known host.
object
The type of the public key.
The base64 encoded public key.
The MD5 fingerprint of the public key.
The SHA-256 fingerprint of the public key.
Example generated
{ "type": "example", "uuid": "example", "hostname": "example", "public_key": { "type": "example", "key_type": "example", "key": "example", "md5_fingerprint": "example", "sha256_fingerprint": "example" }}Responses
Section titled “ Responses ”The known host was updated.
object
The UUID identifying the known host.
The hostname of the known host.
object
The type of the public key.
The base64 encoded public key.
The MD5 fingerprint of the public key.
The SHA-256 fingerprint of the public key.
Example generated
{ "type": "example", "uuid": "example", "hostname": "example", "public_key": { "type": "example", "key_type": "example", "key": "example", "md5_fingerprint": "example", "sha256_fingerprint": "example" }}The account, repository or known host with the given UUID 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": {} }}