Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Validate Host

This contains APIs related to SSH or WinRm host validation

Deprecated

Validates hosts connectivity credentials

post
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

orgIdentifierstringOptional

Organization Identifier for the Entity.

projectIdentifierstringOptional

Project Identifier for the Entity.

identifierstringRequired

Secret Identifier

Body

Host validation parameters, including host names and delegate tags.

hostsstring[]Required

Hosts to be validated

tagsstring[]Optional

Delegate tags (optional)

Responses
400

Bad Request

This is Failure entity as defied in Harness

statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
post/host-validation
POST /gateway/ng/api/host-validation?accountIdentifier=text&identifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 34

{
  "hosts": [
    "text"
  ],
  "tags": [
    "text"
  ]
}
{
  "status": "SUCCESS",
  "code": "DEFAULT_ERROR_CODE",
  "message": "text",
  "correlationId": "text",
  "errors": [
    {
      "fieldId": "text",
      "error": "text"
    }
  ]
}

Last updated

Was this helpful?