Git Repositories

Remove a Repository Configuration Override

Removes the repository's override of one section, so that section follows the organization default. Removing a section the repository does not override changes nothing. Changing excluded branches, excluded base branches, excluded file extensions, release detection or coding time strategy recomputes history asynchronously

delete/api/v1/git/repositories/{repo_id}/config/{section}

Request

Path parameters

repo_idinteger required

The repository id, as GET /api/v1/git/repositories returns it

section'releases_detection' | 'draft_pull_requests' | 'default_branch' | 'exclude_branches' | 'exclude_base_branches' | 'exclude_file_extensions' | 'coding_time_strategy' required

The section whose override is removed

Response

Successful Response

repository_idinteger required
repository_namestring nullable
settingsobject required

Example response

{
  "repository_id": 80231,
  "repository_name": "api"
}

Changes

No recorded changes to this operation across all 1 revision of this API.