Thanks Nixon

Yea it works, i'll see how it behaves when I try to delete 5k entities in one 
go.
I think i got around 100-200k+ entities I want to get rid of.


/Viking
________________________________
From: Nixon Rodrigues <[email protected]>
Sent: Friday, May 24, 2019 11:35 AM
To: [email protected]
Subject: Re: Atlas API DELETE /v2/entity/bulk

Viking,


To retrieve entities in bulk. pass guid as a query string as a multivalued 
attribute.

API - /api/atlas/v2/entity/bulk?guid=<%guid%>&guid=<%guid%>

  1.  
http://localhost:21000/api/atlas/v2/entity/bulk?guid=42c75497-3493-4441-9c6e-18e287c2ab70&guid=9e4448c2-62e9-42fd-a177-fe7c90b3e4d5&guid=07c61db3-4751-44e1-9560-2d3c0873b4fa&guid=236ad596-9669-4c68-8be2-2fb4e1352a09

 More details 
https://community.hortonworks.com/questions/185758/getting-error-while-retrieving-data-from-apache-at.html


On Fri, May 24, 2019 at 4:59 PM Viking K 
<[email protected]<mailto:[email protected]>> wrote:
Hi

Anyone have an example how to communicate with the bulk delete of guids.

I tried the following without any success

curl --negotiate -u : -H "Content-Type: application/json" -X DELETE -d 
'{"guid":["4a3b4450-42f2-4af2-b052-70c450b501d9"]}'  
http://XXXX.XXX.XXX.XXXX:21000/api/atlas/v2/entity/bulk

Error:
{"errorCode":"ATLAS-400-00-01A","errorMessage":"invalid parameters: Guid(s) not 
specified"}

Best regards
Viking

Reply via email to