# Unprotect a single branch **PUT /projects/{id}/repository/branches/{branch}/unprotect** Unprotect a single branch ## Servers - https://www.gitlab.com/api/v4: https://www.gitlab.com/api/v4 () ## Authentication methods - Api key auth ## Parameters ### Path parameters - **id** (string | integer) The ID or [URL-encoded path of the project](https://docs.gitlab.com/api/rest/#namespaced-paths). - **branch** (string) The name of the branch ## Responses ### 200 Unprotect a single branch #### Body: application/json (object) - **name** (string) - **commit** (object) - **merged** (boolean) - **protected** (boolean) - **developers_can_push** (boolean) - **developers_can_merge** (boolean) - **can_push** (boolean) - **default** (boolean) - **web_url** (string) ### 404 404 Project Not Found [Powered by Bump.sh](https://bump.sh)