DELETE
/
comments
/
:id
Available on Premium, Business, Enterprise plans.

Delete either a single comment or all comments under a post that were sent via Ayrshare. Available for Facebook, Instagram, LinkedIn, Reddit, TikTok, X/Twitter, and YouTube.

Header Parameters

Authorization
string
required
Format: Authorization: Bearer API_KEY. See API overview for more information.
Profile-Key
string
Profile Key of a user profile.

Path Parameters

id
string

Top-level Ayrshare Post id or Social Comment ID commentId.

The top-level post id will delete all comments sent via Ayrshare.

The commentId will delete just the comment associated with the commentId.

Request Body

platform
string
required

Required only if using the commentId. Values: facebook, instagram, linkedin, reddit, tiktok, twitter, youtube.