Delete Branch
codecommit_delete_branch | R Documentation |
Deletes a branch from a repository, unless that branch is the default branch for the repository¶
Description¶
Deletes a branch from a repository, unless that branch is the default branch for the repository.
Usage¶
codecommit_delete_branch(repositoryName, branchName)
Arguments¶
repositoryName |
[required] The name of the repository that contains the branch to be deleted. |
branchName |
[required] The name of the branch to delete. |
Value¶
A list with the following syntax:
list(
deletedBranch = list(
branchName = "string",
commitId = "string"
)
)
Request syntax¶
svc$delete_branch(
repositoryName = "string",
branchName = "string"
)