Get a list of SSH Known Hosts
GET /api
Query Parameters
partialHoststring
Filters known hosts matching any part of thehostfragment.skipinteger
Number of items to skip. Defaults to zero. Minimum0.takeinteger
Number of items to take. Defaults to 30. Minimum0.
Response
200 — Contains a list of SSH Known Hosts
FilteredCountintegerResourcesarray of objectHoststringIdstringKeyTypestringPublicKeystring
TotalCountinteger
Example Response
JSON
{
"FilteredCount": 0,
"Resources": [
{
"Host": "string",
"Id": "SshKnownHosts-1",
"KeyType": "string",
"PublicKey": "string"
}
],
"TotalCount": 0
}Add new SSH Known Hosts from a list of entries
POST /api
Request Body
KnownHostEntriesarray of string (required)
Response
200 — Contains a list of added SSH Known Hosts
AddedResourcesarray of objectHoststringIdstringKeyTypestringPublicKeystring
Example Request
JSON
{
"KnownHostEntries": [
"string"
]
}Example Response
JSON
{
"AddedResources": [
{
"Host": "string",
"Id": "SshKnownHosts-1",
"KeyType": "string",
"PublicKey": "string"
}
]
}Delete the specific SSH Known Host
DELETE /api
Path Parameters
idstring (required)
Response
200 — An empty response
Example Response
JSON
{}