---
title: "Update GitOps commit message template"
method: PUT
path: "/gitops/settings/commit-message-template"
tags: ["gitops"]
---

# Update GitOps commit message template

`PUT /gitops/settings/commit-message-template`

## Request body

- HttpapiUpdateGitOpsCommitTemplateRequest
  - `template` string

## Response `200`

OK

- HttpapiGitOpsStatusDataResponse
  - `data` UsecaseQueryGitOpsStatusOutput
    - `author_email` string
    - `author_name` string
    - `command_timeout_sec` integer
    - `commit_message_template` string
    - `current_branch` string
    - `default_branch` string
    - `enabled` boolean
    - `head_commit` string
    - `head_commit_short` string
    - `head_commit_subject` string
    - `is_git_repo` boolean
    - `local_root` string
    - `mode` string
    - `path_exists` boolean
    - `remote_origin` string
    - `remote_reachable` boolean
    - `status_summary` string[]
    - `username` string
    - `worktree_dirty` boolean

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error

## Changes

- **2026-03-18** `7313e6ee8cb2` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/opsre/apis/gos-release-api/changes/gitops/settings/commit-message-template/put.md)

---

[API](https://skmtc.dev/opsre/apis/gos-release-api.md) · [All operations](https://skmtc.dev/opsre/apis/gos-release-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opsre/gos-release-api/revisions/7313e6ee8cb2/schema)
