Can’t DELETE or CREATE a new post with WP API


I am trying to delete a post on a wordpress website using Authorization username and pass word, but I get this response from the server

"code": "rest_cannot_delete",
"message": "Sorry, you are not allowed to delete this post.",
"data": {
"status": 401

Does anyone had this issue?

I am using the WP-API DELETE REST .

Thank you in advance

Ioannis Ypatidis 4 weeks 0 Answers 2 views 0

Leave an answer