Created 11-01-2022 12:52 AM
Hi:
Is it currently possible to hard delete (purge) Relationships and RelationshipDefs via the API?
I use the api /api/atlas/admin/purge/ to delete a DELETED Relationship but no use.
Any help will be useful,Thanks.
The Atlas version is 2.2.0
Created 11-18-2022 07:47 PM
Try with the following two steps
1. DELETE (soft)
curl -X DELETE -u ID:PASSWORD -H 'accept: application/json' -H 'cache-control: no-cache' -H 'content-type: application/json' http://HOST:31000/api/atlas/v2/entity/guid/6da8f424-c225-465f-9841-b6a1719bd0dd
2. PURGE (hard)
curl -i -X PUT -H 'Content-Type: application/json' -H 'Accept: application/json' -u ID:PASSWORD 'http://HOST:31000/api/atlas/admin/purge/' -d '["6da8f424-c225-465f-9841-b6a1719bd0dd"]'
Created 12-06-2022 07:04 PM
Thanks,but this api is used to delete the entity,I'm afraid it can't be used to delete a deleted Relationship hardly.
Created 12-06-2022 11:14 PM
May be you can use "http://HOST:31000/api/atlas/admin/purge/".