'How to delete Instagram posts using API

I want to delete a specific post on Instagram with JavaScript using API

I tried how to remove a post from the following document.

https://developers.facebook.com/docs/graph-api/reference/v13.0/post#deleting

but, I got the following error.

Unsupported delete request. Object with ID '{post_id}' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api


Solution 1:[1]

Instagram does not yet support delete via their API. Please see the content publishing API.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Geoffrey Bourne