Updates branch properties including:
Parameters: The following optional fields can be provided in the request body:
branch_namebranch_descriptioncommit_idis_protected - Whether the branch is protected (requires ADMIN access)protection_config - Configuration for protected branches (requires ADMIN access)Limitations:
Returns:
409 Conflict if a branch with the new name already exists403 Forbidden if attempting to modify protection without ADMIN access204 No Content on successDocumentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
This API uses OAuth 2 with the implicit grant flow
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
3 - 128"example_id"
Branch ID. Branch name can be used instead of the ID, but storing and using branch ID in API requests is preferred.
3 - 128"example_id"
Request completed successfully