TypeScript
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>" ] }
Validate host reachability and required metadata.
Bearer token authentication using OAuth2/OIDC tokens
Region identifier
Project identifier
Unique server identifier (UUID)
Validation result
Whether host validation succeeded
Validation error messages if validation failed
Was this page helpful?