# Validate a formation template

> Validates a formation template without creating any resources. Returns a list of errors and warnings. Accepts the template as a JSON object or as a YAML/JSON string.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Validate a formation template"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/formations/validate"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Validates a formation template without creating any resources. Returns a list of errors and warnings. Accepts the template as a JSON object or as a YAML/JSON string.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails>
  
</ParamsDetails>

<RequestSchema
  {...require("./validate-formation.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./validate-formation.StatusCodes.json")}
>
  
</StatusCodes>
