刪除POI delete-a-poi
可讓您刪除POI的DELETE方法。
請求
DELETE https://api-places.adobe.io/places/placesapi/v1/pois/<POIID>
標頭
-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'
範例回應
If successful a Status of "204 No Content" is returned.
CURL指令
使用下列CURL命令來測試API:
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
將
<POIID>
、<API KEY>
、<TOKEN>
和<ORGID>
取代為實際值。recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825