2021-05-14
1import requests23url = "https://withpersona.com/api/v1/list-item/geolocations/list-item-id"45headers = {"Authorization": "<apiKey>"}67response = requests.delete(url, headers=headers)89print(response.json())
1{2 "data": {3 "type": "list-item/geolocation",4 "id": "ligl_DQdchRN288UN6sn9mAmEcMu5",5 "attributes": {6 "status": "archived",7 "archived-at": "2020-09-18T19:03:30.324Z",8 "updated-at": "2020-09-18T18:03:30.324Z",9 "created-at": "2020-09-18T18:03:30.324Z",10 "match-count": 0,11 "latitude": 37.7879461,12 "longitude": -122.3977409,13 "radius-meters": 1014 },15 "relationships": {16 "creator": {17 "data": {}18 }19 }20 }21}