PATCH
/
projects
/
{project_id}
/
branches
/
{name}
/
merge
cURL
curl "https://api.phrase.com/v2/projects/:project_id/branches/:name/merge" \
  -u USERNAME_OR_ACCESS_TOKEN \
  -X PATCH \
  -d '{"strategy":"use_main"}' \
  -H 'Content-Type: application/json'

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

project_id
string
required

Project ID

name
string
required

name

Body

application/json

Response

200

OK