Delete a comment

Delete a comment using its platform-specific comment ID.

Delete a comment using its platform-specific comment ID.

Instagram: You can delete comments on posts owned by your connected Instagram professional account, including comments written by other users. The comment does not need to have been created through Outstand. Comments on live video are not supported.

Threads: Only comments or replies created by the connected account can be deleted (requires the threads_delete scope). Other users' replies can be hidden instead (see the Threads API). Comment deletion is not supported on every network and will return an error where unavailable.

Provide the Outstand post ID as id and the platform-specific comment ID as replyId. Use platform_post_id or account_username as a query parameter to select the connected account. This selector is optional when the post has only one published account. No JSON body is required.

Example: Delete an Instagram comment

curl --request DELETE \
  'https://api.outstand.so/v1/posts/OUTSTAND_POST_ID/replies/INSTAGRAM_COMMENT_ID?platform_post_id=INSTAGRAM_MEDIA_ID' \
  --header 'Authorization: Bearer YOUR_API_KEY'

Can I edit the text of an existing Instagram comment or reply?

No. Instagram's public API does not support editing published comment text. You can delete your reply and publish a replacement, but the replacement has a new ID and timestamp and does not retain the original engagement.

Permissions: Requires interactions:delete. Access is limited by the API key creator's current organization membership and stored key ceiling. See Organization permissions.

DELETE
/v1/posts/{id}/replies/{replyId}

Path Parameters

id*string
replyId*string

Query Parameters

platform_post_id?string

The platform-specific post ID of the account whose credentials should be used to delete the comment. Optional when the post was published to only one account.

account_username?string

The username or nickname of the connected account whose credentials should be used. Optional when the post was published to only one account.

Response Body

Comment deleted successfully.

application/json
  1. response
success*boolean

True if the comment was successfully deleted from the social network.

Example Request
curl -X DELETE 'https://api.outstand.so/v1/posts/string/replies/string'
Example Response
{  "success": true}