Skip to content

DeleteReel#

Beta version

The functionality is in beta. Features may change and may also work unstably.

Only a post of your own account can be deleted. The deletion is irreversible: the Reel cannot be restored after it.

The method uses the limits on the number of requests per second.

Request#

To delete a Reel, you have to execute a request at:

POST
{{apiUrl}}/waInstance{{idInstance}}/deleteReel/{{apiTokenInstance}}

For apiUrl, idInstance and apiTokenInstance request parameters, refer to the Before you start section.

Request parameters#

Parameter Type Mandatory Description
postId string Yes The Reel identifier

Request body example#

{
    "postId": "3977953643059237032"
}

Response#

Response parameters#

Field Type Description
postId string The identifier of the deleted Reel - in the same form it was in the request

Response body example#

{
    "postId": "3977953643059237032"
}

DeleteReel errors#

For a list of errors common to all methods, refer to the Common errors section

HTTP code Error ID Description
400 Bad Request
Validation failed
Validation error

Refusals in the notification#

The command is executed through the queue: the method responds with 200 and postId at once. If the command could not be executed, the deletePostStatus notification arrives with status = failed, the reason is in the description field:

description Description
post 3977953643059237032 is not a reel The post is not a Reel - for the other types there is DeletePost
reel 3977953643059237032 belongs to another account The Reel belongs to another account
not found There is no post with this identifier in Instagram

Request examples#

import requests

url = "{{apiUrl}}/waInstance{{idInstance}}/deleteReel/{{apiTokenInstance}}"

payload = {"postId": "3977953643059237032"}
headers = {'Content-Type': 'application/json'}

response = requests.post(url, json=payload, headers=headers)

print(response.text.encode('utf8'))
curl --location '{{apiUrl}}/waInstance{{idInstance}}/deleteReel/{{apiTokenInstance}}' \
--header 'Content-Type: application/json' \
--data-raw '{"postId": "3977953643059237032"}'