Een POI verwijderen delete-a-poi
Een methode van DELETE waarmee u een POI kunt schrappen.
Verzoek
DELETE https://api-places.adobe.io/places/placesapi/v1/pois/<POIID>
Kopteksten
-H' Content-Type: application/json'
-H 'Authorization: Bearer <TOKEN>'
-H 'x-api-key: <API KEY>'
-H 'x-gw-ims-org-id: <ORGID>'
-H 'Accept-Language: en-US'
Samplereactie
If successful a Status of "204 No Content" is returned.
CURL, opdracht
Gebruik de volgende CURL-opdracht om de API te testen:
curl -X DELETE 'https://api-places.adobe.io/places/placesapi/v1/pois/<POIID>' -H 'x-api-key: <API KEY>' -H 'Authorization: Bearer <TOKEN>' -H 'x-gw-ims-org-id: <ORGID>'
IMPORTANT
Vervang
<POIID> , <API KEY> , <TOKEN> en <ORGID> door werkelijke waarden.recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825