Pāriet uz saturu
ShopentlyLearn

Neatgriezeniski dzēst rakstus un to komentārus

Neatgriezeniski dzēst rakstus un to komentārus

DELETE/api/v1/addons/shopently.blog/posts/{post_id}

cURL pieprasījums

curl --disable --globoff --fail-with-body --silent --show-error \
  --proto '=https' --connect-timeout 5 --max-time 30 \
  --request DELETE \
  --url 'https://shop.onshopently.com/api/v1/addons/shopently.blog/posts/2103ba96-2713-420b-b197-8a008730c851?expected_version=6' \
  --header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN' \
  --header 'Idempotency-Key: learn-28da0478bff14319a2452a9887eececb'

Atbilde

{
  "data": {
    "deleted": true,
    "id": "2103ba96-2713-420b-b197-8a008730c851"
  },
  "meta": {
    "request_id": "56a8c849-a723-469b-97cb-2034c8ccd0a2"
  }
}

Nepieciešamās atļaujas

Autentifikācija
Piekļuves pilnvara
Pieejams no
BASIC
Atslēgas atļauja
Neatgriezeniski dzēst rakstus un to komentārusaddon.shopently.blog:post_delete
Nepieciešamais instalētais modulis

shopently.blog