POST
/
api
/
v1
/
repositories
/
set-pr-title-template
Set PR title template
curl --request POST \
  --url https://zeropath.com/api/v1/repositories/set-pr-title-template \
  --header 'Content-Type: application/json' \
  --header 'X-ZeroPath-API-Token-Id: <api-key>' \
  --header 'X-ZeroPath-API-Token-Secret: <api-key>' \
  --data '{
  "organizationId": "<string>",
  "repositoryId": "<string>",
  "prTitleTemplate": "<string>"
}'
{
  "ok": true
}

Authorizations

X-ZeroPath-API-Token-Id
string
header
required
X-ZeroPath-API-Token-Secret
string
header
required

Body

application/json
repositoryId
string
required
prTitleTemplate
string
required
organizationId
string

Response

Successful response

ok
boolean