401 Error on Media Deletion
-
Hello there,
I’m having a problem regarding REST API using DELETE for media/image items. I’ve been wanting to delete images connected to the product that will be deleted via REST API. However, I can delete the whole product but not the image itself. Whenever I try to delete the image, it says this
{"code":"rest_cannot_delete","message":"Sorry, you are not allowed to delete this post.","data":{"status":401}}
I’ve tried multiple auth/token applications but still does not seem to work for me. What’s the reason for this?
The references that I tried: Media API and This Post
Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.