'Deletes an entity
:param entity: The entity to delete'

def _delete_entity(self, entity):

    try:
        entity.delete()
    except BambouHTTPError as error:
        self.module.fail_json(msg='Unable    to    delete    entity:    {0}'.format(error))
    self.result['changed'] = True
