v2

Swagger 2.02026-08-01331211921.0 KB
Pipelines

Create a known host

Create a repository level known host.

post/repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

Request body

typestring required
uuidstring

The UUID identifying the known host.

hostnamestring

The hostname of the known host.

Response

The known host was created.

typestring required
uuidstring

The UUID identifying the known host.

hostnamestring

The hostname of the known host.