> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/mutations/patch-self-service-center-template-version.md).

# patchSelfServiceCenterTemplateVersion

### Arguments

| Argument                                                                                                                                      | Description                                          |
| --------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| input ([PatchSelfServiceCenterTemplateVersionInput](/graphql-api/api-reference/objects/patch-self-service-center-template-version-input.md)!) | Parameters for PatchSelfServiceCenterTemplateVersion |

### PatchSelfServiceCenterTemplateVersionInput Arguments

| Argument                                                                   | Description                                                                                                  |
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
| templateFileName ([String](/graphql-api/api-reference/objects/string.md)!) | The file name of the template to patch (e.g. dashboard.liquid).                                              |
| patch ([String](/graphql-api/api-reference/objects/string.md)!)            | A unified diff patch to apply to the current template body.                                                  |
| title ([String](/graphql-api/api-reference/objects/string.md))             | An optional human-readable title for the saved template version.                                             |
| expectedBaseVersion ([Int](/graphql-api/api-reference/objects/int.md)!)    | The latest saved template version number the patch was generated from. Use 0 when there is no saved version. |

### Return fields

#### errors (\[[ModelValidationError](/graphql-api/api-reference/objects/model-validation-error.md)!]!)

#### selfServiceCenterTemplate ([SelfServiceCenterTemplate](/graphql-api/api-reference/objects/self-service-center-template.md))

#### selfServiceCenterTemplateVersion ([SelfServiceCenterTemplateVersion](/graphql-api/api-reference/objects/self-service-center-template-version.md))
