Mehrere Zielpunkte löschen delete-multiple-pois

Eine POST-Methode, mit der Sie mehrere POIs löschen können.

Anfrage

POST https://api-places.adobe.io/places/placesapi/v1/pois/batchDelete

Kopfzeilen

-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'

Textkörper

{  "ids": [    "<POIID>",    "<POIID>",    .    .    .    "<POIID>",    "<POIID>"  ]}

Beispielantwort

If successful a Status of "204 No Content" is returned.

CURL, Befehl

Verwenden Sie den folgenden CURL-Befehl, um diese API zu testen:

curl -X POST 'https://api-places.adobe.io/places/placesapi/v1/pois/batchDelete' -H 'x-api-key: <API KEY>' -H 'Authorization: Bearer <TOKEN>' -H 'x-gw-ims-org-id: <ORGID>' --data-binary "@<PATHTOBATCHDELETEJSONFILE>" -H "Content-Type: application/json"
IMPORTANT
Ersetzen <API KEY>, <TOKEN>, <ORGID>und <PATHTOBATCHDELETEJSONFILE> mit echten Werten.

JSON-Beispieldatei

Hier finden Sie die JSON-Beispieldatei für die batchDelete API:

{​"ids":["31a49d5c-c6ad-46ae-b88d-a6912a8a6b2f","6a78a729-7973-4373-9199-36da18cc5b8c","74eaa3da-2464-4298-9b6d-5376fa7ea00f"]​}
recommendation-more-help
475fad96-f29f-4dca-a109-68bf0557e825