'Delete a new security group.
:keyword group_id: security group id
:type group_id: ``str``'

def ex_delete_security_group_by_id(self, group_id=None):

    params = {'Action': 'DeleteSecurityGroup', 'RegionId': self.region, 'SecurityGroupId': group_id}
    resp = self.connection.request(self.path, params)
    return resp.success()
