Replace project Git push settings

Replaces all push defaults and message templates of an existing connection; connection, sync modes, schedules, filters and branching are unchanged. Every field is required. Equal values write nothing. Optional If-Match checks the complete GET representation under project/authentication/configuration locks with current permission rechecked. Actual changes record an audit/event and reset ON_COMPLETION evaluations for the existing settle window; other modes clear obsolete evaluations. ON_COMPLETION requires at least one automatic branch kind enabled. This stores configuration, without contacting the provider or promising push success. Jobs lacking explicit overrides may use these defaults when their worker resolves them, including already queued jobs. Existing job records are not rewritten. Placeholders are expanded and PR branch templates normalized by the push worker. The transformed PUT omits ETag; GET again for a validator. Requires project-level settings management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^pr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public id that is created from the type prefix of the corresponding resource and its UUID. I.e : For a project, a valid value would be : pr_0197c8f2-5a6b-7cde-8f12-3456789abcde

Body Params

Request body to replace the complete stored Git push defaults and message templates.

string
enum
required

How files should be pushed to git repositories.

Allowed:
string
enum
required

Automatic completion push behavior for a branch kind.

Allowed:
string
enum
required

Automatic completion push behavior for a branch kind.

Allowed:
string
required
length between 0 and 16384
^[^\x00]*$

Commit message template.

string
required
length between 0 and 16384
^[^\x00]*$

Commit description template; empty is allowed.

string
required
length between 0 and 16384
^[^\x00]*$

Manual pull-request branch template, normalized by the push worker.

string
required
length between 0 and 16384
^[^\x00]*$

Pull-request title template.

string
required
length between 0 and 16384
^[^\x00]*$

Pull-request description template; empty is allowed.

Headers
string

Optional precondition. Send the quoted ETag from a GET of this resource. The mutation only runs if a strong tag matches the current representation, checked under the write lock. A comma-separated list is allowed; '*' requires an existing representation. Weak tags never match. Omit this header for an unconditional write. For an action, use the ETag from GET of the target resource, without the action suffix. A stale tag returns 412; read the current state before retrying.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json