刪除POI

上次更新: 2023-05-24
  • 主題:
  • Places
    檢視有關此主題的更多資訊

可讓您刪除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>'
重要

Replace <POIID><API KEY><TOKEN>、和 <ORGID> 包含實際值。

本頁內容