Comments

Delete comment

Delete a comment.

DELETEhttps://app.tryadeli.com/api/v1/comments/{commentId}
AuthorizationBearer <API key>How keys work

Path parameters

commentIdstringRequired
The provider's comment id: a numeric string everywhere but YouTube, whose ids are URL-safe base64. One that does not match the platform's format returns 400 invalid_request.

Query parameters

platform"instagram" | "facebook" | "tiktok" | "youtube"Required
accountIduuidRequired
profileIduuid
Optional, because accountId names its profile. If you pass both, they must agree.
banAuthor"true" | "false"
YouTube only: also hide the author's future comments on the channel, when the comment is someone else's.

Returns 204. Deleting cannot be undone.

TikTok deletes only your own comments

On TikTok the account can delete only comments it wrote; anything else is 422 comment_not_owned. Hide other people's comments instead — a hidden comment is visible only to its author.

YouTube rejects other people's comments

On YouTube the channel's own comments are deleted. Anyone else's is rejected, which removes it for good — it cannot be published again — and, with banAuthor=true, also bans its author from commenting on the channel.

Errors — 401 unauthorized, 400 invalid_request, 404 account_not_found, 422 comment_not_owned, 422 connection_expired, 429 rate_limited, 502 provider_error.