'Delete entity.
Delete an entity from a workspace.
:param workspace_id: The workspace ID.
:param entity: The name of the entity.'

def delete_entity(self, workspace_id, entity):

    params = {'version': self.version}
    return self.request(method='DELETE', url='/v1/workspaces/{0}/entities/{1}'.format(workspace_id, entity), params=params, accept_json=True)
