@cli.register_custom_action('<STR_LIT>')<EOL><INDENT>@exc.on_http_error(exc.GitlabProtectError)<EOL>def unprotect(self, **kwargs):<DEDENT>
id = self.get_id().replace('<STR_LIT:/>', '<STR_LIT>')<EOL>path = '<STR_LIT>' % (self.manager.path, id)<EOL>self.manager.gitlab.http_put(path, **kwargs)<EOL>self._attrs['<STR_LIT>'] = False<EOL>
Unprotect the branch.

        Args:
            **kwargs: Extra options to send to the server (e.g. sudo)

        Raises:
            GitlabAuthenticationError: If authentication is not correct
            GitlabProtectError: If the branch could not be unprotected