pyapacheatlas.core.client.PurviewClient.delete_entity#

PurviewClient.delete_entity(guid=None, qualifiedName=None, typeName=None)#

Delete one or many entities from your Apache Atlas server.

You can provide a single guid or a list of guids. You can provide a single typeName and a single qualified name. typeName and qualifiedName must be provided together. If guid and qualifiedName and typeName are all provided, guid is ignored.

Parameters
  • guid (Union(str, list(str))) – The guid or guids you want to delete. Not used if using typeName and qualifiedName.

  • qualifiedName (Union(str, list(str))) – The qualified name of the entity you want to delete. Must provide typeName if using qualifiedName. You may search for multiple qualified names under the same type. Ignored if using guid parameter.

  • typeName (str) – The type name of the entity you want to delete. Must provide qualifiedName if using typeName. Ignored if using guid parameter.

Returns

An EntityMutationResponse containing guidAssignments, mutatedEntities, and partialUpdatedEntities (list).

Return type

dict(str, Union(dict,list))