حذف صور المقالات غير المرتبطة
حذف صور المقالات غير المرتبطة
DELETE
/api/v1/addons/shopently.blog/media/{media_id}طلب cURL
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/media/e8663afe-3c38-461c-a142-a980085630af?expected_version=2' \
--header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN' \
--header 'Idempotency-Key: learn-b3ec4b699af34d268e250e27626117c4'
الاستجابة
{
"data": {
"deleted": true,
"id": "e8663afe-3c38-461c-a142-a980085630af",
"version": 3
},
"meta": {
"request_id": "38e8f043-d7fb-4cfb-827e-e4e686cfbaaa"
}
}
الصلاحيات المطلوبة
- المصادقة
- رمز الوصول
- متاح بدءًا من
- BASIC
- صلاحية المفتاح
- حذف صور المقالات غير المرتبطة
addon.shopently.blog:media_delete
الوحدة المثبتة المطلوبة
shopently.blog