Templates

Get template variables by template version

Changed on
get/api/v2/templateversions/{templateversion}/variables

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/templateversions/{templateversion}/variables
  • Auth
    API key in header Coder-Session-Token

Path parameters

templateversionstring uuid required

Template version ID

Response

OK

default_valuestring
descriptionstring
namestring
requiredboolean
sensitiveboolean
type'string' | 'number' | 'bool'
valuestring

Changes