Delete a comment
Delete a comment (that was created through Outstand) from the social network it lives on.
Delete a comment (that was created through Outstand) from the social network it lives on. Provide the post ID in the path and the comment's platform-specific ID as replyId. Use the platform_post_id or account_username query param to select which connected account's credentials to use (optional when the post was published to only one account). Note: comment deletion is not supported on every network - Threads does not expose a delete-comment API and will return an error. Currently supported on Instagram.
/v1/posts/{id}/replies/{replyId}Path Parameters
Query Parameters
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.
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
fetch("https://api.outstand.so/v1/posts/string/replies/string?platform_post_id=123456789&account_username=mycompany", { method: "DELETE"}){
"success": true
}{
"success": false,
"error": "Invalid payload",
"details": {
"content": {
"_errors": [
"Required"
]
}
}
}{
"success": false,
"error": "Invalid payload",
"details": {
"content": {
"_errors": [
"Required"
]
}
}
}{
"success": false,
"error": "Internal server error",
"message": "Database connection failed"
}