Missing API for "Automatically delete head branches" #24768
Answered
by
gr2m
yotamshapira
asked this question in
Apps, API and Webhooks
-
|
Hi, There is no REST API for the “Automatically delete head branches” setting. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
gr2m
Apr 25, 2021
Replies: 2 comments 2 replies
-
|
You can use the Does that work for you? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I think it does, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
PATCH /repos/{owner}/{repo}endpoint (Update a repository). Thedelete_branch_on_mergeparameter is what you are looking for.Does that work for you?