get_branch_restriction
Retrieve specific branch restriction details by ID to manage repository access controls and understand permission settings in Bitbucket.
Instructions
Get a single branch restriction by its ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repository_name | Yes | Name of the repository (repo slug) | |
restriction_id | Yes | The ID of the branch restriction. |
Input Schema (JSON Schema)
{
"properties": {
"repository_name": {
"description": "Name of the repository (repo slug)",
"type": "string"
},
"restriction_id": {
"description": "The ID of the branch restriction.",
"type": "string"
}
},
"required": [
"repository_name",
"restriction_id"
],
"type": "object"
}