arrow_back Back to all endpoints
DELETE https://test-api.finerworks.com/v3/delete_images

Delete Image Files

Deletes a list of image files based on their unique id. Note if the image is assigned to the inventory library, this will also remove any virtual inventory products assigned to those images.

Body

Name Description Type Additional information
guids Array of unique identifiers assigned to images you want to delete. array (text)

Required

library Contains parameters which indicate the location of the image. image_library

Required

account_key Optional - This will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and deleting images will be be dependent on the user's api credentials. Leave as null if not authorized to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "guids": [
    "a1415ff7-2d6e-4fe9-8d5c-a2361fbce4bd",
    "44ae9524-2c69-4243-994d-5dbae083d81f"
  ],
  "library": null,
  "account_key": null
}

Sample Code Library

curl --location --request DELETE 'https://test-api.finerworks.com/v3/delete_images' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "guids": [
    "a1415ff7-2d6e-4fe9-8d5c-a2361fbce4bd",
    "44ae9524-2c69-4243-994d-5dbae083d81f"
  ],
  "library": null,
  "account_key": null
}'