def delete_entity_type(namespace, workspace, etype, ename):
uri = "<STR_LIT>".format(namespace, workspace)<EOL>if isinstance(ename, string_types):<EOL><INDENT>body = [{"<STR_LIT>":etype, "<STR_LIT>":ename}]<EOL><DEDENT>elif isinstance(ename, Iterable):<EOL><INDENT>body = [{"<STR_LIT>":etype, "<STR_LIT>":i} for i in ename]<EOL><DEDENT>return __post(uri, json=body)<EOL>
Delete entities in a workspace.

    Note: This action is not reversible. Be careful!

    Args:
        namespace (str): project to which workspace belongs
        workspace (str): Workspace name
        etype (str): Entity type
        ename (str, or iterable of str): unique entity id(s)

    Swagger:
        https://api.firecloud.org/#!/Entities/deleteEntities