# Templates

- [Get templates by organization](/docs/reference/api/templates/get-templates-by-organization/): `GET /api/v2/organizations/{organization}/templates`
- [Create template by organization](/docs/reference/api/templates/create-template-by-organization/): `POST /api/v2/organizations/{organization}/templates`
- [Get template examples by organization](/docs/reference/api/templates/get-template-examples-by-organization/): `GET /api/v2/organizations/{organization}/templates/examples`
- [Get templates by organization and template name](/docs/reference/api/templates/get-templates-by-organization-and-template-name/): `GET /api/v2/organizations/{organization}/templates/{templatename}`
- [Get template version by organization, template, and name](/docs/reference/api/templates/get-template-version-by-organization-template-and-name/): `GET /api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname}`
- [Get previous template version by organization, template, and name](/docs/reference/api/templates/get-previous-template-version-by-organization-template-and-name/): `GET /api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname}/previous`
- [Create template version by organization](/docs/reference/api/templates/create-template-version-by-organization/): `POST /api/v2/organizations/{organization}/templateversions`
- [Get all templates](/docs/reference/api/templates/get-all-templates/): `GET /api/v2/templates`
- [Get template examples](/docs/reference/api/templates/get-template-examples/): `GET /api/v2/templates/examples`
- [Get template settings by ID](/docs/reference/api/templates/get-template-settings-by-id/): `GET /api/v2/templates/{template}`
- [Delete template by ID](/docs/reference/api/templates/delete-template-by-id/): `DELETE /api/v2/templates/{template}`
- [Update template settings by ID](/docs/reference/api/templates/update-template-settings-by-id/): `PATCH /api/v2/templates/{template}`
- [Get template DAUs by ID](/docs/reference/api/templates/get-template-daus-by-id/): `GET /api/v2/templates/{template}/daus`
- [List template versions by template ID](/docs/reference/api/templates/list-template-versions-by-template-id/): `GET /api/v2/templates/{template}/versions`
- [Update active template version by template ID](/docs/reference/api/templates/update-active-template-version-by-template-id/): `PATCH /api/v2/templates/{template}/versions`
- [Archive template unused versions by template id](/docs/reference/api/templates/archive-template-unused-versions-by-template-id/): `POST /api/v2/templates/{template}/versions/archive`
- [Get template version by template ID and name](/docs/reference/api/templates/get-template-version-by-template-id-and-name/): `GET /api/v2/templates/{template}/versions/{templateversionname}`
- [Get template version by ID](/docs/reference/api/templates/get-template-version-by-id/): `GET /api/v2/templateversions/{templateversion}`
- [Patch template version by ID](/docs/reference/api/templates/patch-template-version-by-id/): `PATCH /api/v2/templateversions/{templateversion}`
- [Archive template version](/docs/reference/api/templates/archive-template-version/): `POST /api/v2/templateversions/{templateversion}/archive`
- [Cancel template version by ID](/docs/reference/api/templates/cancel-template-version-by-id/): `PATCH /api/v2/templateversions/{templateversion}/cancel`
- [Create template version dry-run](/docs/reference/api/templates/create-template-version-dry-run/): `POST /api/v2/templateversions/{templateversion}/dry-run`
- [Get template version dry-run by job ID](/docs/reference/api/templates/get-template-version-dry-run-by-job-id/): `GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}`
- [Cancel template version dry-run by job ID](/docs/reference/api/templates/cancel-template-version-dry-run-by-job-id/): `PATCH /api/v2/templateversions/{templateversion}/dry-run/{jobID}/cancel`
- [Get template version dry-run logs by job ID](/docs/reference/api/templates/get-template-version-dry-run-logs-by-job-id/): `GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs`
- [Get template version dry-run matched provisioners](/docs/reference/api/templates/get-template-version-dry-run-matched-provisioners/): `GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners`
- [Get template version dry-run resources by job ID](/docs/reference/api/templates/get-template-version-dry-run-resources-by-job-id/): `GET /api/v2/templateversions/{templateversion}/dry-run/{jobID}/resources`
- [Open dynamic parameters WebSocket by template version](/docs/reference/api/templates/open-dynamic-parameters-websocket-by-template-version/): `GET /api/v2/templateversions/{templateversion}/dynamic-parameters`
- [Evaluate dynamic parameters for template version](/docs/reference/api/templates/evaluate-dynamic-parameters-for-template-version/): `POST /api/v2/templateversions/{templateversion}/dynamic-parameters/evaluate`
- [Get external auth by template version](/docs/reference/api/templates/get-external-auth-by-template-version/): `GET /api/v2/templateversions/{templateversion}/external-auth`
- [Get logs by template version](/docs/reference/api/templates/get-logs-by-template-version/): `GET /api/v2/templateversions/{templateversion}/logs`
- [Removed: Get parameters by template version](/docs/reference/api/templates/removed-get-parameters-by-template-version/): `GET /api/v2/templateversions/{templateversion}/parameters`
- [Get template version presets](/docs/reference/api/templates/get-template-version-presets/): `GET /api/v2/templateversions/{templateversion}/presets`
- [Get resources by template version](/docs/reference/api/templates/get-resources-by-template-version/): `GET /api/v2/templateversions/{templateversion}/resources`
- [Get rich parameters by template version](/docs/reference/api/templates/get-rich-parameters-by-template-version/): `GET /api/v2/templateversions/{templateversion}/rich-parameters`
- [Removed: Get schema by template version](/docs/reference/api/templates/removed-get-schema-by-template-version/): `GET /api/v2/templateversions/{templateversion}/schema`
- [Unarchive template version](/docs/reference/api/templates/unarchive-template-version/): `POST /api/v2/templateversions/{templateversion}/unarchive`
- [Get template variables by template version](/docs/reference/api/templates/get-template-variables-by-template-version/): `GET /api/v2/templateversions/{templateversion}/variables`
