Skip to main content
POST
/
v1
/
regions
/
{region}
/
projects
/
{project}
/
infrastructure
/
servers
/
{id}
:validate
Validate server
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.k0rdent.ai/v1/regions/{region}/projects/{project}/infrastructure/servers/{id}:validate', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "valid": true,
  "errors": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication using OAuth2/OIDC tokens

Path Parameters

region
string
required

Region identifier

project
string
required

Project identifier

id
string<uuid>
required

Unique server identifier (UUID)

Response

Validation result

valid
boolean

Whether host validation succeeded

errors
string[]

Validation error messages if validation failed