可讓您刪除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命令來測試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>'
Replace <POIID>
, <API KEY>
, <TOKEN>
、和 <ORGID>
包含實際值。