Aller au contenu

Delete point of interest

Commencez par le bloc configuration du script, puis ajoutez le code de l’extrait ci-dessous.

# ... script setup ...
TWIN_ID = "your-twin-id"
POI_ID = "your-poi-id"
api_delete(f"/v1/twin/{TWIN_ID}/pois/{POI_ID}")
print(f"Deleted POI {POI_ID}")