PUT/api/v2/code-refs/repositories/repo/branches/branch
Path Parameters
Body Parameters
View in API Reference
Request
$curl -X PUT https://app.launchdarkly.com/api/v2/code-refs/repositories/repo/branches/branch \
> -H "Authorization: " \
> -H "Content-Type: application/json" \
> -d '{
> "name": "main",
> "head": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",
> "syncTime": 1000000
>}'
Response